#CF9EF5#CF9EF5

#CF9EF5 is a light, vivid violet. Relative luminance 0.443; OKLCH L 77.6% C 0.131 H 309.4°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#CF9EF5
RGBrgb(207, 158, 245)
HSLhsl(274, 81%, 79%)
HSVhsv(274, 36%, 96%)
CMYKcmyk(15.5%, 35.5%, 0%, 3.9%)
CIE-LABlab(72.44, 34.04, -36.64)
CIE-LCHlch(72.44, 50.01, 312.89°)
OKLaboklab(77.6% 0.0831 -0.1011)
OKLCHoklch(77.6% 0.131 309.4)
XYZxyz(54.4374, 44.3123, 92.0538)
Luminance0.4431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9EF5 #C4F59E
analogous
#A49EF5 #CF9EF5 #F59EF0
triadic
#CF9EF5 #F5CF9E #9EF5CF
tetradic
#CF9EF5 #F5A49E #C4F59E #9EF0F5
square
#CF9EF5 #F5A49E #C4F59E #9EF0F5
split-complementary
#CF9EF5 #F0F59E #9EF5A4
monochromatic
#982FEA #B467EF #CF9EF5 #EAD5FB #F1E3FC

Accessibility & contrast

On white

2.13
#CF9EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#CF9EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9EF5
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9EF5#FFFFFF#000000##000000
##CF9EF51.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DAFF8
Deuteranopia (green-blind)
#98B3F2
Tritanopia (blue-blind)
#CBAABE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cf9ef5;
/* rgb */ color: rgb(207, 158, 245);
/* oklch */ color: oklch(77.6% 0.131 309.4);
Tailwind
colors: {
  custom: {
    50: '#dfbbf8',
    500: '#cf9ef5',
    950: '#000000',
  },
}
SCSS
$custom: #cf9ef5;
$custom-light: #dfbbf8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9ef5",
  "rgb": {
    "r": 207,
    "g": 158,
    "b": 245
  },
  "hsl": {
    "h": 273.793,
    "s": 81.308,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77595,
    "c": 0.13083,
    "h": 309.4
  },
  "luminance": 0.44312
}

Semantic roles & 50–950 ramp

primary
#CF9EF5
secondary
#E4F4D7
accent
#DE0865
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CF9EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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