#CF9FE9#CF9FE9

#CF9FE9 is a light, moderate violet. Relative luminance 0.439; OKLCH L 77.3% C 0.115 H 313.3°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#CF9FE9
RGBrgb(207, 159, 233)
HSLhsl(279, 63%, 77%)
HSVhsv(279, 32%, 91%)
CMYKcmyk(11.2%, 31.8%, 0%, 8.6%)
CIE-LABlab(72.19, 30.98, -30.48)
CIE-LCHlch(72.19, 43.46, 315.47°)
OKLaboklab(77.25% 0.0788 -0.0835)
OKLCHoklch(77.25% 0.115 313.3)
XYZxyz(52.8358, 43.9457, 82.7740)
Luminance0.4395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9FE9 #B9E99F
analogous
#AA9FE9 #CF9FE9 #E99FDE
triadic
#CF9FE9 #E9CF9F #9FE9CF
tetradic
#CF9FE9 #E9AA9F #B9E99F #9FDEE9
square
#CF9FE9 #E9AA9F #B9E99F #9FDEE9
split-complementary
#CF9FE9 #DEE99F #9FE9AA
monochromatic
#9D3BD2 #B66DDE #CF9FE9 #E8D1F4 #F3E6F9

Accessibility & contrast

On white

2.15
#CF9FE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#CF9FE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9FE9
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9FE9#FFFFFF#000000##000000
##CF9FE91.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AEEC
Deuteranopia (green-blind)
#9EB2E7
Tritanopia (blue-blind)
#CDA8BA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cf9fe9;
/* rgb */ color: rgb(207, 159, 233);
/* oklch */ color: oklch(77.3% 0.115 313.3);
Tailwind
colors: {
  custom: {
    50: '#debcf0',
    500: '#cf9fe9',
    950: '#000000',
  },
}
SCSS
$custom: #cf9fe9;
$custom-light: #debcf0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9fe9",
  "rgb": {
    "r": 207,
    "g": 159,
    "b": 233
  },
  "hsl": {
    "h": 278.919,
    "s": 62.712,
    "l": 76.863
  },
  "oklch": {
    "l": 0.77253,
    "c": 0.11479,
    "h": 313.3
  },
  "luminance": 0.43945
}

Semantic roles & 50–950 ramp

primary
#CF9FE9
secondary
#E2F1DA
accent
#CA1B59
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CF9FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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