#CF9DED#CF9DED

#CF9DED is a light, vivid violet. Relative luminance 0.435; OKLCH L 77.1% C 0.123 H 312.2°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#CF9DED
RGBrgb(207, 157, 237)
HSLhsl(278, 69%, 77%)
HSVhsv(278, 34%, 93%)
CMYKcmyk(12.7%, 33.8%, 0%, 7.1%)
CIE-LABlab(71.89, 32.90, -33.13)
CIE-LCHlch(71.89, 46.69, 314.80°)
OKLaboklab(77.07% 0.0827 -0.091)
OKLCHoklch(77.07% 0.123 312.2)
XYZxyz(53.0726, 43.4946, 85.7038)
Luminance0.4349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9DED #BBED9D
analogous
#A79DED #CF9DED #ED9DE3
triadic
#CF9DED #EDCF9D #9DEDCF
tetradic
#CF9DED #EDA79D #BBED9D #9DE3ED
square
#CF9DED #EDA79D #BBED9D #9DE3ED
split-complementary
#CF9DED #E3ED9D #9DEDA7
monochromatic
#9C36DA #B669E4 #CF9DED #E8D1F6 #F2E5FA

Accessibility & contrast

On white

2.17
#CF9DED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#CF9DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9DED
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9DED#FFFFFF#000000##000000
##CF9DED1.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAEF0
Deuteranopia (green-blind)
#9BB1EB
Tritanopia (blue-blind)
#CCA8BA
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cf9ded;
/* rgb */ color: rgb(207, 157, 237);
/* oklch */ color: oklch(77.1% 0.123 312.2);
Tailwind
colors: {
  custom: {
    50: '#debaf3',
    500: '#cf9ded',
    950: '#000000',
  },
}
SCSS
$custom: #cf9ded;
$custom-light: #debaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9ded",
  "rgb": {
    "r": 207,
    "g": 157,
    "b": 237
  },
  "hsl": {
    "h": 277.5,
    "s": 68.966,
    "l": 77.255
  },
  "oklch": {
    "l": 0.77074,
    "c": 0.12295,
    "h": 312.2
  },
  "luminance": 0.43494
}

Semantic roles & 50–950 ramp

primary
#CF9DED
secondary
#E2F2D9
accent
#D1155B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF9DED

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

Preview Lab → · Contrast checker → · Palette generator →

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