#CFA6EB#CFA6EB

#CFA6EB is a light, moderate violet. Relative luminance 0.465; OKLCH L 78.6% C 0.105 H 311.1°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#CFA6EB
RGBrgb(207, 166, 235)
HSLhsl(276, 63%, 79%)
HSVhsv(276, 29%, 92%)
CMYKcmyk(11.9%, 29.4%, 0%, 7.8%)
CIE-LABlab(73.89, 27.57, -28.95)
CIE-LCHlch(73.89, 39.98, 313.60°)
OKLaboklab(78.58% 0.0691 -0.0792)
OKLCHoklch(78.58% 0.105 311.1)
XYZxyz(54.3612, 46.5366, 84.6999)
Luminance0.4654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA6EB #C2EBA6
analogous
#ACA6EB #CFA6EB #EBA6E4
triadic
#CFA6EB #EBCFA6 #A6EBCF
tetradic
#CFA6EB #EBACA6 #C2EBA6 #A6E4EB
square
#CFA6EB #EBACA6 #C2EBA6 #A6E4EB
split-complementary
#CFA6EB #E4EBA6 #A6EBAC
monochromatic
#9942D5 #B474E0 #CFA6EB #EAD8F6 #F2E6F9

Accessibility & contrast

On white

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

On black

10.31
#CFA6EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA6EB
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA6EB#FFFFFF#000000##000000
##CFA6EB1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB4EE
Deuteranopia (green-blind)
#A3B6E9
Tritanopia (blue-blind)
#CCAFBF
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfa6eb;
/* rgb */ color: rgb(207, 166, 235);
/* oklch */ color: oklch(78.6% 0.105 311.1);
Tailwind
colors: {
  custom: {
    50: '#dec0f1',
    500: '#cfa6eb',
    950: '#000000',
  },
}
SCSS
$custom: #cfa6eb;
$custom-light: #dec0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa6eb",
  "rgb": {
    "r": 207,
    "g": 166,
    "b": 235
  },
  "hsl": {
    "h": 275.652,
    "s": 63.303,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78576,
    "c": 0.10514,
    "h": 311.1
  },
  "luminance": 0.46536
}

Semantic roles & 50–950 ramp

primary
#CFA6EB
secondary
#E3F1DA
accent
#CB1A62
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFA6EB

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

Preview Lab → · Contrast checker → · Palette generator →

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