#CE7DEC#CE7DEC

#CE7DEC is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.7% C 0.175 H 316.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#CE7DEC
RGBrgb(206, 125, 236)
HSLhsl(284, 74%, 71%)
HSVhsv(284, 47%, 93%)
CMYKcmyk(12.7%, 47%, 0%, 7.5%)
CIE-LABlab(64.84, 49.51, -43.57)
CIE-LCHlch(64.84, 65.96, 318.65°)
OKLaboklab(71.73% 0.1266 -0.1208)
OKLCHoklch(71.73% 0.175 316.3)
XYZxyz(47.9253, 33.8466, 83.3491)
Luminance0.3384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7DEC #9BEC7D
analogous
#967DEC #CE7DEC #EC7DD2
triadic
#CE7DEC #ECCE7D #7DECCE
tetradic
#CE7DEC #EC967D #9BEC7D #7DD2EC
square
#CE7DEC #EC967D #9BEC7D #7DD2EC
split-complementary
#CE7DEC #D2EC7D #7DEC96
monochromatic
#A01ED0 #BA48E4 #CE7DEC #E2B2F4 #F5E4FB

Accessibility & contrast

On white

2.70
#CE7DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#CE7DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7DEC
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7DEC#FFFFFF#000000##000000
##CE7DEC1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#7FA0E9
Tritanopia (blue-blind)
#CD8DAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ce7dec;
/* rgb */ color: rgb(206, 125, 236);
/* oklch */ color: oklch(71.7% 0.175 316.3);
Tailwind
colors: {
  custom: {
    50: '#dfa5f2',
    500: '#ce7dec',
    950: '#000000',
  },
}
SCSS
$custom: #ce7dec;
$custom-light: #dfa5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7dec",
  "rgb": {
    "r": 206,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 283.784,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71733,
    "c": 0.17501,
    "h": 316.3
  },
  "luminance": 0.33845
}

Semantic roles & 50–950 ramp

primary
#CE7DEC
secondary
#DCF1D3
accent
#D70F45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE7DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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