#CFA6EA#CFA6EA

#CFA6EA is a light, moderate violet. Relative luminance 0.465; OKLCH L 78.5% C 0.104 H 311.5°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#CFA6EA
RGBrgb(207, 166, 234)
HSLhsl(276, 62%, 78%)
HSVhsv(276, 29%, 92%)
CMYKcmyk(11.5%, 29.1%, 0%, 8.2%)
CIE-LABlab(73.86, 27.36, -28.46)
CIE-LCHlch(73.86, 39.48, 313.87°)
OKLaboklab(78.54% 0.0689 -0.0778)
OKLCHoklch(78.54% 0.104 311.5)
XYZxyz(54.2171, 46.4790, 83.9411)
Luminance0.4648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA6EA #C1EAA6
analogous
#ADA6EA #CFA6EA #EAA6E3
triadic
#CFA6EA #EACFA6 #A6EACF
tetradic
#CFA6EA #EAADA6 #C1EAA6 #A6E3EA
square
#CFA6EA #EAADA6 #C1EAA6 #A6E3EA
split-complementary
#CFA6EA #E3EAA6 #A6EAAD
monochromatic
#9A43D3 #B474DE #CFA6EA #EAD8F6 #F2E6F9

Accessibility & contrast

On white

2.04
#CFA6EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#CFA6EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA6EA
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA6EA#FFFFFF#000000##000000
##CFA6EA1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB3ED
Deuteranopia (green-blind)
#A4B6E8
Tritanopia (blue-blind)
#CCAFBE
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfa6ea;
/* rgb */ color: rgb(207, 166, 234);
/* oklch */ color: oklch(78.5% 0.104 311.5);
Tailwind
colors: {
  custom: {
    50: '#dec0f1',
    500: '#cfa6ea',
    950: '#000000',
  },
}
SCSS
$custom: #cfa6ea;
$custom-light: #dec0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa6ea",
  "rgb": {
    "r": 207,
    "g": 166,
    "b": 234
  },
  "hsl": {
    "h": 276.176,
    "s": 61.818,
    "l": 78.431
  },
  "oklch": {
    "l": 0.78535,
    "c": 0.10393,
    "h": 311.5
  },
  "luminance": 0.46478
}

Semantic roles & 50–950 ramp

primary
#CFA6EA
secondary
#E3F1DA
accent
#CA1C61
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFA6EA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CFA6EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva