#CF7DCA#CF7DCA

#CF7DCA is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.3% C 0.141 H 329.1°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#CF7DCA
RGBrgb(207, 125, 202)
HSLhsl(304, 46%, 65%)
HSVhsv(304, 40%, 81%)
CMYKcmyk(0%, 39.6%, 2.4%, 18.8%)
CIE-LABlab(63.51, 43.28, -26.68)
CIE-LCHlch(63.51, 50.85, 328.34°)
OKLaboklab(70.29% 0.1214 -0.0725)
OKLCHoklch(70.29% 0.141 329.1)
XYZxyz(43.7257, 32.1990, 59.7775)
Luminance0.3220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DCA #7DCF82
analogous
#AB7DCF #CF7DCA #CF7DA1
triadic
#CF7DCA #CACF7D #7DCACF
tetradic
#CF7DCA #CFAB7D #7DCF82 #7DA1CF
square
#CF7DCA #CFAB7D #7DCF82 #7DA1CF
split-complementary
#CF7DCA #A1CF7D #7DCFAB
monochromatic
#993993 #BE50B8 #CF7DCA #E0AADC #F0D6EE

Accessibility & contrast

On white

2.82
#CF7DCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#CF7DCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DCA
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DCA#FFFFFF#000000##000000
##CF7DCA1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CD
Deuteranopia (green-blind)
#8E9EC7
Tritanopia (blue-blind)
#D5849A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf7dca;
/* rgb */ color: rgb(207, 125, 202);
/* oklch */ color: oklch(70.3% 0.141 329.1);
Tailwind
colors: {
  custom: {
    50: '#dfa4da',
    500: '#cf7dca',
    950: '#000000',
  },
}
SCSS
$custom: #cf7dca;
$custom-light: #dfa4da;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7dca",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 303.659,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70287,
    "c": 0.14138,
    "h": 329.1
  },
  "luminance": 0.32197
}

Semantic roles & 50–950 ramp

primary
#CF7DCA
secondary
#C6E2C8
accent
#B9352C
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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