#CE7EEA#CE7EEA

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

Color values

HEX#CE7EEA
RGBrgb(206, 126, 234)
HSLhsl(284, 72%, 71%)
HSVhsv(284, 46%, 92%)
CMYKcmyk(12%, 46.2%, 0%, 8.2%)
CIE-LABlab(64.95, 48.59, -42.30)
CIE-LCHlch(64.95, 64.42, 318.96°)
OKLaboklab(71.79% 0.1249 -0.1172)
OKLCHoklch(71.79% 0.171 316.8)
XYZxyz(47.7636, 33.9855, 81.8698)
Luminance0.3398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7EEA #9AEA7E
analogous
#987EEA #CE7EEA #EA7ED0
triadic
#CE7EEA #EACE7E #7EEACE
tetradic
#CE7EEA #EA987E #9AEA7E #7ED0EA
square
#CE7EEA #EA987E #9AEA7E #7ED0EA
split-complementary
#CE7EEA #D0EA7E #7EEA98
monochromatic
#A021CC #BA49E1 #CE7EEA #E2B3F3 #F5E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE7EEA#FFFFFF#000000##000000
##CE7EEA1.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)
#6A99EE
Deuteranopia (green-blind)
#81A0E7
Tritanopia (blue-blind)
#CD8DA9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ce7eea;
/* rgb */ color: rgb(206, 126, 234);
/* oklch */ color: oklch(71.8% 0.171 316.8);
Tailwind
colors: {
  custom: {
    50: '#dfa5f1',
    500: '#ce7eea',
    950: '#000000',
  },
}
SCSS
$custom: #ce7eea;
$custom-light: #dfa5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7eea",
  "rgb": {
    "r": 206,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 284.444,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71786,
    "c": 0.17127,
    "h": 316.8
  },
  "luminance": 0.33984
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE7EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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