#CFA1EF#CFA1EF

#CFA1EF is a light, moderate violet. Relative luminance 0.450; OKLCH L 77.9% C 0.119 H 310.8°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#CFA1EF
RGBrgb(207, 161, 239)
HSLhsl(275, 71%, 78%)
HSVhsv(275, 33%, 94%)
CMYKcmyk(13.4%, 32.6%, 0%, 6.3%)
CIE-LABlab(72.88, 31.13, -32.68)
CIE-LCHlch(72.88, 45.14, 313.61°)
OKLaboklab(77.86% 0.0774 -0.0898)
OKLCHoklch(77.86% 0.119 310.8)
XYZxyz(54.0543, 44.9878, 87.4805)
Luminance0.4499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA1EF #C1EFA1
analogous
#A8A1EF #CFA1EF #EFA1E8
triadic
#CFA1EF #EFCFA1 #A1EFCF
tetradic
#CFA1EF #EFA8A1 #C1EFA1 #A1E8EF
square
#CFA1EF #EFA8A1 #C1EFA1 #A1E8EF
split-complementary
#CFA1EF #E8EFA1 #A1EFA8
monochromatic
#9A38DD #B46DE6 #CFA1EF #EAD5F8 #F2E5FB

Accessibility & contrast

On white

2.10
#CFA1EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#CFA1EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA1EF
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA1EF#FFFFFF#000000##000000
##CFA1EF1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B1F2
Deuteranopia (green-blind)
#9DB4ED
Tritanopia (blue-blind)
#CCACBD
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfa1ef;
/* rgb */ color: rgb(207, 161, 239);
/* oklch */ color: oklch(77.9% 0.119 310.8);
Tailwind
colors: {
  custom: {
    50: '#debdf4',
    500: '#cfa1ef',
    950: '#000000',
  },
}
SCSS
$custom: #cfa1ef;
$custom-light: #debdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa1ef",
  "rgb": {
    "r": 207,
    "g": 161,
    "b": 239
  },
  "hsl": {
    "h": 275.385,
    "s": 70.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77856,
    "c": 0.11853,
    "h": 310.8
  },
  "luminance": 0.44987
}

Semantic roles & 50–950 ramp

primary
#CFA1EF
secondary
#E3F2D9
accent
#D31361
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CFA1EF

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

Preview Lab → · Contrast checker → · Palette generator →

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