#CE7EE5#CE7EE5

#CE7EE5 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.5% C 0.166 H 318.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#CE7EE5
RGBrgb(206, 126, 229)
HSLhsl(287, 66%, 70%)
HSVhsv(287, 45%, 90%)
CMYKcmyk(10%, 45%, 0%, 10.2%)
CIE-LABlab(64.73, 47.59, -39.88)
CIE-LCHlch(64.73, 62.09, 320.04°)
OKLaboklab(71.54% 0.1241 -0.1102)
OKLCHoklch(71.54% 0.166 318.4)
XYZxyz(47.0554, 33.7022, 78.1400)
Luminance0.3370 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7EE5 #95E57E
analogous
#9B7EE5 #CE7EE5 #E57EC9
triadic
#CE7EE5 #E5CE7E #7EE5CE
tetradic
#CE7EE5 #E59B7E #95E57E #7EC9E5
square
#CE7EE5 #E59B7E #95E57E #7EC9E5
split-complementary
#CE7EE5 #C9E57E #7EE59B
monochromatic
#9F27C2 #BB4BDB #CE7EE5 #E1B1EF #F5E4FA

Accessibility & contrast

On white

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

On black

7.74
#CE7EE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7EE5
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7EE5#FFFFFF#000000##000000
##CE7EE51.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D98E9
Deuteranopia (green-blind)
#83A0E2
Tritanopia (blue-blind)
#CE8CA7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ce7ee5;
/* rgb */ color: rgb(206, 126, 229);
/* oklch */ color: oklch(71.5% 0.166 318.4);
Tailwind
colors: {
  custom: {
    50: '#dfa5ed',
    500: '#ce7ee5',
    950: '#000000',
  },
}
SCSS
$custom: #ce7ee5;
$custom-light: #dfa5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7ee5",
  "rgb": {
    "r": 206,
    "g": 126,
    "b": 229
  },
  "hsl": {
    "h": 286.602,
    "s": 66.452,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71544,
    "c": 0.166,
    "h": 318.4
  },
  "luminance": 0.33701
}

Semantic roles & 50–950 ramp

primary
#CE7EE5
secondary
#D7EED1
accent
#CE1740
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CE7EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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