#CF9EF2#CF9EF2

#CF9EF2 is a light, vivid violet. Relative luminance 0.441; OKLCH L 77.5% C 0.127 H 310.4°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#CF9EF2
RGBrgb(207, 158, 242)
HSLhsl(275, 76%, 78%)
HSVhsv(275, 35%, 95%)
CMYKcmyk(14.5%, 34.7%, 0%, 5.1%)
CIE-LABlab(72.32, 33.40, -35.19)
CIE-LCHlch(72.32, 48.52, 313.50°)
OKLaboklab(77.46% 0.0824 -0.0969)
OKLCHoklch(77.46% 0.127 310.4)
XYZxyz(53.9832, 44.1306, 89.6614)
Luminance0.4413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9EF2 #C1F29E
analogous
#A59EF2 #CF9EF2 #F29EEB
triadic
#CF9EF2 #F2CF9E #9EF2CF
tetradic
#CF9EF2 #F2A59E #C1F29E #9EEBF2
square
#CF9EF2 #F2A59E #C1F29E #9EEBF2
split-complementary
#CF9EF2 #EBF29E #9EF2A5
monochromatic
#9A32E4 #B468EB #CF9EF2 #EAD4F9 #F2E4FB

Accessibility & contrast

On white

2.14
#CF9EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#CF9EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9EF2
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9EF2#FFFFFF#000000##000000
##CF9EF21.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAFF5
Deuteranopia (green-blind)
#9AB2F0
Tritanopia (blue-blind)
#CBAABD
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cf9ef2;
/* rgb */ color: rgb(207, 158, 242);
/* oklch */ color: oklch(77.5% 0.127 310.4);
Tailwind
colors: {
  custom: {
    50: '#debbf6',
    500: '#cf9ef2',
    950: '#000000',
  },
}
SCSS
$custom: #cf9ef2;
$custom-light: #debbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9ef2",
  "rgb": {
    "r": 207,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 275,
    "s": 76.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77463,
    "c": 0.12721,
    "h": 310.4
  },
  "luminance": 0.4413
}

Semantic roles & 50–950 ramp

primary
#CF9EF2
secondary
#E3F3D8
accent
#D90D62
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #CF9EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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