#CE7DEB#CE7DEB

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

Color values

HEX#CE7DEB
RGBrgb(206, 125, 235)
HSLhsl(284, 73%, 71%)
HSVhsv(284, 47%, 92%)
CMYKcmyk(12.3%, 46.8%, 0%, 7.8%)
CIE-LABlab(64.79, 49.31, -43.09)
CIE-LCHlch(64.79, 65.49, 318.85°)
OKLaboklab(71.68% 0.1265 -0.1195)
OKLCHoklch(71.68% 0.174 316.6)
XYZxyz(47.7804, 33.7886, 82.5861)
Luminance0.3379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7DEB #9AEB7D
analogous
#977DEB #CE7DEB #EB7DD1
triadic
#CE7DEB #EBCE7D #7DEBCE
tetradic
#CE7DEB #EB977D #9AEB7D #7DD1EB
square
#CE7DEB #EB977D #9AEB7D #7DD1EB
split-complementary
#CE7DEB #D1EB7D #7DEB97
monochromatic
#A020CE #BA48E3 #CE7DEB #E2B2F3 #F5E4FB

Accessibility & contrast

On white

2.71
#CE7DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#CE7DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7DEB
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7DEB#FFFFFF#000000##000000
##CE7DEB1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#7FA0E8
Tritanopia (blue-blind)
#CD8DA9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ce7deb;
/* rgb */ color: rgb(206, 125, 235);
/* oklch */ color: oklch(71.7% 0.174 316.6);
Tailwind
colors: {
  custom: {
    50: '#dfa5f2',
    500: '#ce7deb',
    950: '#000000',
  },
}
SCSS
$custom: #ce7deb;
$custom-light: #dfa5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7deb",
  "rgb": {
    "r": 206,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 284.182,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71684,
    "c": 0.17396,
    "h": 316.6
  },
  "luminance": 0.33787
}

Semantic roles & 50–950 ramp

primary
#CE7DEB
secondary
#DBF1D3
accent
#D51044
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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