#CF7FD9#CF7FD9

#CF7FD9 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.3% C 0.152 H 322.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#CF7FD9
RGBrgb(207, 127, 217)
HSLhsl(293, 54%, 67%)
HSVhsv(293, 41%, 85%)
CMYKcmyk(4.6%, 41.5%, 0%, 14.9%)
CIE-LABlab(64.53, 45.02, -33.50)
CIE-LCHlch(64.53, 56.12, 323.34°)
OKLaboklab(71.25% 0.1217 -0.0919)
OKLCHoklch(71.25% 0.153 322.9)
XYZxyz(45.8446, 33.4557, 69.6749)
Luminance0.3345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FD9 #89D97F
analogous
#A27FD9 #CF7FD9 #D97FB6
triadic
#CF7FD9 #D9CF7F #7FD9CF
tetradic
#CF7FD9 #D9A27F #89D97F #7FB6D9
square
#CF7FD9 #D9A27F #89D97F #7FB6D9
split-complementary
#CF7FD9 #B6D97F #7FD9A2
monochromatic
#9E33AB #BD50CB #CF7FD9 #E1AEE7 #F2DDF5

Accessibility & contrast

On white

2.73
#CF7FD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#CF7FD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FD9
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FD9#FFFFFF#000000##000000
##CF7FD91.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7496DC
Deuteranopia (green-blind)
#8AA0D6
Tritanopia (blue-blind)
#D289A2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cf7fd9;
/* rgb */ color: rgb(207, 127, 217);
/* oklch */ color: oklch(71.3% 0.152 322.9);
Tailwind
colors: {
  custom: {
    50: '#dfa6e5',
    500: '#cf7fd9',
    950: '#000000',
  },
}
SCSS
$custom: #cf7fd9;
$custom-light: #dfa6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7fd9",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 217
  },
  "hsl": {
    "h": 293.333,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71252,
    "c": 0.1525,
    "h": 322.9
  },
  "luminance": 0.33454
}

Semantic roles & 50–950 ramp

primary
#CF7FD9
secondary
#CFE8CC
accent
#C22435
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CF7FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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