#CF9FE3#CF9FE3

#CF9FE3 is a light, moderate purple. Relative luminance 0.436; OKLCH L 77.0% C 0.108 H 315.7°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#CF9FE3
RGBrgb(207, 159, 227)
HSLhsl(282, 55%, 76%)
HSVhsv(282, 30%, 89%)
CMYKcmyk(8.8%, 30%, 0%, 11%)
CIE-LABlab(71.97, 29.76, -27.55)
CIE-LCHlch(71.97, 40.55, 317.21°)
OKLaboklab(77.01% 0.0772 -0.0752)
OKLCHoklch(77.01% 0.108 315.7)
XYZxyz(51.9933, 43.6087, 78.3365)
Luminance0.4361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9FE3 #B3E39F
analogous
#AD9FE3 #CF9FE3 #E39FD5
triadic
#CF9FE3 #E3CF9F #9FE3CF
tetradic
#CF9FE3 #E3AD9F #B3E39F #9FD5E3
square
#CF9FE3 #E3AD9F #B3E39F #9FD5E3
split-complementary
#CF9FE3 #D5E39F #9FE3AD
monochromatic
#A040C7 #B770D5 #CF9FE3 #E7CEF1 #F3E7F8

Accessibility & contrast

On white

2.16
#CF9FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#CF9FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9FE3
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9FE3#FFFFFF#000000##000000
##CF9FE31.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ADE6
Deuteranopia (green-blind)
#A0B2E1
Tritanopia (blue-blind)
#CEA7B7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cf9fe3;
/* rgb */ color: rgb(207, 159, 227);
/* oklch */ color: oklch(77.0% 0.108 315.7);
Tailwind
colors: {
  custom: {
    50: '#debcec',
    500: '#cf9fe3',
    950: '#000000',
  },
}
SCSS
$custom: #cf9fe3;
$custom-light: #debcec;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9fe3",
  "rgb": {
    "r": 207,
    "g": 159,
    "b": 227
  },
  "hsl": {
    "h": 282.353,
    "s": 54.839,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77006,
    "c": 0.10777,
    "h": 315.7
  },
  "luminance": 0.43608
}

Semantic roles & 50–950 ramp

primary
#CF9FE3
secondary
#E1EFDC
accent
#C22352
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CF9FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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