#CE7DEF#CE7DEF

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

Color values

HEX#CE7DEF
RGBrgb(206, 125, 239)
HSLhsl(283, 78%, 71%)
HSVhsv(283, 48%, 94%)
CMYKcmyk(13.8%, 47.7%, 0%, 6.3%)
CIE-LABlab(64.98, 50.13, -45.01)
CIE-LCHlch(64.98, 67.37, 318.08°)
OKLaboklab(71.88% 0.127 -0.125)
OKLCHoklch(71.88% 0.178 315.5)
XYZxyz(48.3648, 34.0224, 85.6639)
Luminance0.3402 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7DEF #9EEF7D
analogous
#957DEF #CE7DEF #EF7DD7
triadic
#CE7DEF #EFCE7D #7DEFCE
tetradic
#CE7DEF #EF957D #9EEF7D #7DD7EF
square
#CE7DEF #EF957D #9EEF7D #7DD7EF
split-complementary
#CE7DEF #D7EF7D #7DEF95
monochromatic
#A11AD7 #B947E8 #CE7DEF #E3B3F6 #F5E4FC

Accessibility & contrast

On white

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

On black

7.80
#CE7DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7DEF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7DEF#FFFFFF#000000##000000
##CE7DEF1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#7DA0EC
Tritanopia (blue-blind)
#CC8EAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ce7def;
/* rgb */ color: rgb(206, 125, 239);
/* oklch */ color: oklch(71.9% 0.178 315.5);
Tailwind
colors: {
  custom: {
    50: '#dfa5f4',
    500: '#ce7def',
    950: '#000000',
  },
}
SCSS
$custom: #ce7def;
$custom-light: #dfa5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7def",
  "rgb": {
    "r": 206,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 282.632,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71883,
    "c": 0.1782,
    "h": 315.5
  },
  "luminance": 0.34021
}

Semantic roles & 50–950 ramp

primary
#CE7DEF
secondary
#DEF3D5
accent
#DA0B47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE7DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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