#CF7DED#CF7DED

#CF7DED is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.9% C 0.177 H 316.4°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#CF7DED
RGBrgb(207, 125, 237)
HSLhsl(284, 76%, 71%)
HSVhsv(284, 47%, 93%)
CMYKcmyk(12.7%, 47.3%, 0%, 7.1%)
CIE-LABlab(65.00, 49.99, -43.87)
CIE-LCHlch(65.00, 66.51, 318.73°)
OKLaboklab(71.89% 0.1279 -0.1217)
OKLCHoklch(71.89% 0.177 316.4)
XYZxyz(48.3495, 34.0485, 84.1294)
Luminance0.3405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DED #9BED7D
analogous
#977DED #CF7DED #ED7DD3
triadic
#CF7DED #EDCF7D #7DEDCF
tetradic
#CF7DED #ED977D #9BED7D #7DD3ED
square
#CF7DED #ED977D #9BED7D #7DD3ED
split-complementary
#CF7DED #D3ED7D #7DED97
monochromatic
#A21DD2 #BB47E6 #CF7DED #E3B3F4 #F5E4FB

Accessibility & contrast

On white

2.69
#CF7DED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#CF7DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DED
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DED#FFFFFF#000000##000000
##CF7DED1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F1
Deuteranopia (green-blind)
#7FA0EA
Tritanopia (blue-blind)
#CE8DAA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7ded;
/* rgb */ color: rgb(207, 125, 237);
/* oklch */ color: oklch(71.9% 0.177 316.4);
Tailwind
colors: {
  custom: {
    50: '#e0a5f3',
    500: '#cf7ded',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ded;
$custom-light: #e0a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ded",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 283.929,
    "s": 75.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71893,
    "c": 0.17653,
    "h": 316.4
  },
  "luminance": 0.34047
}

Semantic roles & 50–950 ramp

primary
#CF7DED
secondary
#DCF2D4
accent
#D80E44
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7DED

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

Preview Lab → · Contrast checker → · Palette generator →

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