#CCAFFE

A color in the Violet family

#ccaffe is a color in the Violet family: RGB(204, 175, 254), HSL(262°, 98%, 84%), CMYK(20%, 31%, 0%, 0%). Closest named color: plum. Contrast is 1.89:1 on white and 11.13:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ccaffe
RGBrgb(204 175 254)
RGB (legacy)rgb(204, 175, 254)
RGB %rgb(80% 69% 100%)
HSLhsl(262 98% 84%)
HSV / HSBhsv(262, 31%, 100%)
HWBhwb(262 69% 0%)
CMYKcmyk(20%, 31%, 0%, 0%)
CIELAB (D50)lab(76.18 22.36 -35.48)
LCHlch(76.18 41.94 302.23)
OKLaboklab(0.8072 0.0579 -0.0973)
OKLCHoklch(0.8072 0.1132 300.75)
Decimal13414398

Properties

Color ToneViolet
Closest named colorplum ΔE 5.5
Closest web-safe color#cc99ff
Hue262°
Saturation (HSL / HSV)98% / 31%
Lightness (HSL)84%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)76% / 73%
Relative luminance (WCAG)0.5065
Red / Green / Blue204 / 175 / 254

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.89:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.13:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 35.8 / -66.7 · As background with white / black text: Lc -40 / 68.1

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #ccaffe;
  --color-brand-oklch: oklch(80.72% 0.1132 300.75);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(204 175 254 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ccaffe] text-[#ccaffe] border-[#ccaffe]">