#CE7EEC#CE7EEC

#CE7EEC is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.9% C 0.173 H 316.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#CE7EEC
RGBrgb(206, 126, 236)
HSLhsl(284, 74%, 71%)
HSVhsv(284, 47%, 93%)
CMYKcmyk(12.7%, 46.6%, 0%, 7.5%)
CIE-LABlab(65.04, 49.00, -43.26)
CIE-LCHlch(65.04, 65.36, 318.56°)
OKLaboklab(71.88% 0.1252 -0.1199)
OKLCHoklch(71.88% 0.173 316.2)
XYZxyz(48.0525, 34.1011, 83.3915)
Luminance0.3410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7EEC #9CEC7E
analogous
#977EEC #CE7EEC #EC7ED3
triadic
#CE7EEC #ECCE7E #7EECCE
tetradic
#CE7EEC #EC977E #9CEC7E #7ED3EC
square
#CE7EEC #EC977E #9CEC7E #7ED3EC
split-complementary
#CE7EEC #D3EC7E #7EEC97
monochromatic
#A01FD1 #BA49E4 #CE7EEC #E2B3F4 #F5E4FB

Accessibility & contrast

On white

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

On black

7.82
#CE7EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7EEC
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7EEC#FFFFFF#000000##000000
##CE7EEC1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#80A0E9
Tritanopia (blue-blind)
#CD8EAA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ce7eec;
/* rgb */ color: rgb(206, 126, 236);
/* oklch */ color: oklch(71.9% 0.173 316.2);
Tailwind
colors: {
  custom: {
    50: '#dfa5f2',
    500: '#ce7eec',
    950: '#000000',
  },
}
SCSS
$custom: #ce7eec;
$custom-light: #dfa5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7eec",
  "rgb": {
    "r": 206,
    "g": 126,
    "b": 236
  },
  "hsl": {
    "h": 283.636,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71884,
    "c": 0.17339,
    "h": 316.2
  },
  "luminance": 0.341
}

Semantic roles & 50–950 ramp

primary
#CE7EEC
secondary
#DCF2D4
accent
#D60F45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE7EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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