#CF7CD9#CF7CD9

#CF7CD9 is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.8% C 0.158 H 323.1°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#CF7CD9
RGBrgb(207, 124, 217)
HSLhsl(294, 55%, 67%)
HSVhsv(294, 43%, 85%)
CMYKcmyk(4.6%, 42.9%, 0%, 14.9%)
CIE-LABlab(63.91, 46.59, -34.46)
CIE-LCHlch(63.91, 57.95, 323.51°)
OKLaboklab(70.79% 0.126 -0.0946)
OKLCHoklch(70.79% 0.158 323.1)
XYZxyz(45.4629, 32.6923, 69.5477)
Luminance0.3269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CD9 #86D97C
analogous
#A17CD9 #CF7CD9 #D97CB5
triadic
#CF7CD9 #D9CF7C #7CD9CF
tetradic
#CF7CD9 #D9A17C #86D97C #7CB5D9
square
#CF7CD9 #D9A17C #86D97C #7CB5D9
split-complementary
#CF7CD9 #B5D97C #7CD9A1
monochromatic
#9D31A9 #BE4DCB #CF7CD9 #E0ABE7 #F2DBF5

Accessibility & contrast

On white

2.79
#CF7CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#CF7CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7CD9
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7CD9#FFFFFF#000000##000000
##CF7CD91.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7195DC
Deuteranopia (green-blind)
#889ED6
Tritanopia (blue-blind)
#D287A0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf7cd9;
/* rgb */ color: rgb(207, 124, 217);
/* oklch */ color: oklch(70.8% 0.158 323.1);
Tailwind
colors: {
  custom: {
    50: '#dfa4e5',
    500: '#cf7cd9',
    950: '#000000',
  },
}
SCSS
$custom: #cf7cd9;
$custom-light: #dfa4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7cd9",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 293.548,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.7079,
    "c": 0.15759,
    "h": 323.1
  },
  "luminance": 0.3269
}

Semantic roles & 50–950 ramp

primary
#CF7CD9
secondary
#CDE7CA
accent
#C32334
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CF7CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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