#CFA0EF#CFA0EF

#CFA0EF is a light, vivid violet. Relative luminance 0.446; OKLCH L 77.7% C 0.120 H 311.0°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#CFA0EF
RGBrgb(207, 160, 239)
HSLhsl(276, 71%, 78%)
HSVhsv(276, 33%, 94%)
CMYKcmyk(13.4%, 33.1%, 0%, 6.3%)
CIE-LABlab(72.65, 31.68, -33.04)
CIE-LCHlch(72.65, 45.77, 313.80°)
OKLaboklab(77.68% 0.0788 -0.0908)
OKLCHoklch(77.68% 0.12 311)
XYZxyz(53.8802, 44.6397, 87.4225)
Luminance0.4464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA0EF #C0EFA0
analogous
#A7A0EF #CFA0EF #EFA0E7
triadic
#CFA0EF #EFCFA0 #A0EFCF
tetradic
#CFA0EF #EFA7A0 #C0EFA0 #A0E7EF
square
#CFA0EF #EFA7A0 #C0EFA0 #A0E7EF
split-complementary
#CFA0EF #E7EFA0 #A0EFA7
monochromatic
#9A37DD #B56CE6 #CFA0EF #E9D4F8 #F2E5FB

Accessibility & contrast

On white

2.12
#CFA0EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#CFA0EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA0EF
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA0EF#FFFFFF#000000##000000
##CFA0EF1.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B0F2
Deuteranopia (green-blind)
#9DB3ED
Tritanopia (blue-blind)
#CCABBD
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfa0ef;
/* rgb */ color: rgb(207, 160, 239);
/* oklch */ color: oklch(77.7% 0.120 311.0);
Tailwind
colors: {
  custom: {
    50: '#debcf4',
    500: '#cfa0ef',
    950: '#000000',
  },
}
SCSS
$custom: #cfa0ef;
$custom-light: #debcf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa0ef",
  "rgb": {
    "r": 207,
    "g": 160,
    "b": 239
  },
  "hsl": {
    "h": 275.696,
    "s": 71.171,
    "l": 78.235
  },
  "oklch": {
    "l": 0.77681,
    "c": 0.12022,
    "h": 311
  },
  "luminance": 0.44639
}

Semantic roles & 50–950 ramp

primary
#CFA0EF
secondary
#E3F2D9
accent
#D31260
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CFA0EF

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

Preview Lab → · Contrast checker → · Palette generator →

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