#CE7EE4#CE7EE4

#CE7EE4 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.5% C 0.165 H 318.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#CE7EE4
RGBrgb(206, 126, 228)
HSLhsl(287, 65%, 69%)
HSVhsv(287, 45%, 89%)
CMYKcmyk(9.6%, 44.7%, 0%, 10.6%)
CIE-LABlab(64.68, 47.39, -39.39)
CIE-LCHlch(64.68, 61.63, 320.26°)
OKLaboklab(71.5% 0.124 -0.1088)
OKLCHoklch(71.5% 0.165 318.7)
XYZxyz(46.9162, 33.6465, 77.4068)
Luminance0.3365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7EE4 #94E47E
analogous
#9B7EE4 #CE7EE4 #E47EC7
triadic
#CE7EE4 #E4CE7E #7EE4CE
tetradic
#CE7EE4 #E49B7E #94E47E #7EC7E4
square
#CE7EE4 #E49B7E #94E47E #7EC7E4
split-complementary
#CE7EE4 #C7E47E #7EE49B
monochromatic
#9F28C0 #BB4BD9 #CE7EE4 #E1B1EF #F4E3F9

Accessibility & contrast

On white

2.72
#CE7EE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#CE7EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7EE4
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7EE4#FFFFFF#000000##000000
##CE7EE41.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E8
Deuteranopia (green-blind)
#84A0E1
Tritanopia (blue-blind)
#CE8CA6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ce7ee4;
/* rgb */ color: rgb(206, 126, 228);
/* oklch */ color: oklch(71.5% 0.165 318.7);
Tailwind
colors: {
  custom: {
    50: '#dfa5ed',
    500: '#ce7ee4',
    950: '#000000',
  },
}
SCSS
$custom: #ce7ee4;
$custom-light: #dfa5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7ee4",
  "rgb": {
    "r": 206,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 287.059,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71496,
    "c": 0.16495,
    "h": 318.7
  },
  "luminance": 0.33645
}

Semantic roles & 50–950 ramp

primary
#CE7EE4
secondary
#D7EED0
accent
#CD183F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CE7EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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