#CF9EF9#CF9EF9

#CF9EF9 is a light, vivid violet. Relative luminance 0.446; OKLCH L 77.8% C 0.136 H 308.2°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#CF9EF9
RGBrgb(207, 158, 249)
HSLhsl(272, 88%, 80%)
HSVhsv(272, 37%, 98%)
CMYKcmyk(16.9%, 36.5%, 0%, 2.4%)
CIE-LABlab(72.60, 34.90, -38.55)
CIE-LCHlch(72.60, 52.00, 312.15°)
OKLaboklab(77.77% 0.084 -0.1066)
OKLCHoklch(77.77% 0.136 308.2)
XYZxyz(55.0547, 44.5592, 95.3046)
Luminance0.4456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9EF9 #C8F99E
analogous
#A29EF9 #CF9EF9 #F99EF5
triadic
#CF9EF9 #F9CF9E #9EF9CF
tetradic
#CF9EF9 #F9A29E #C8F99E #9EF5F9
square
#CF9EF9 #F9A29E #C8F99E #9EF5F9
split-complementary
#CF9EF9 #F5F99E #9EF9A2
monochromatic
#962BF2 #B264F5 #CF9EF9 #ECD8FD #F1E2FD

Accessibility & contrast

On white

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

On black

9.91
#CF9EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9EF9
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9EF9#FFFFFF#000000##000000
##CF9EF91.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB0FC
Deuteranopia (green-blind)
#97B3F6
Tritanopia (blue-blind)
#CAABC0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cf9ef9;
/* rgb */ color: rgb(207, 158, 249);
/* oklch */ color: oklch(77.8% 0.136 308.2);
Tailwind
colors: {
  custom: {
    50: '#dfbbfb',
    500: '#cf9ef9',
    950: '#000000',
  },
}
SCSS
$custom: #cf9ef9;
$custom-light: #dfbbfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9ef9",
  "rgb": {
    "r": 207,
    "g": 158,
    "b": 249
  },
  "hsl": {
    "h": 272.308,
    "s": 88.35,
    "l": 79.804
  },
  "oklch": {
    "l": 0.77773,
    "c": 0.13566,
    "h": 308.2
  },
  "luminance": 0.44559
}

Semantic roles & 50–950 ramp

primary
#CF9EF9
secondary
#E4F5D6
accent
#E5016A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CF9EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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