#CE7EE2#CE7EE2

#CE7EE2 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.4% C 0.163 H 319.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CE7EE2
RGBrgb(206, 126, 226)
HSLhsl(288, 63%, 69%)
HSVhsv(288, 44%, 89%)
CMYKcmyk(8.8%, 44.2%, 0%, 11.4%)
CIE-LABlab(64.59, 46.99, -38.42)
CIE-LCHlch(64.59, 60.70, 320.73°)
OKLaboklab(71.4% 0.1236 -0.106)
OKLCHoklch(71.4% 0.163 319.4)
XYZxyz(46.6401, 33.5361, 75.9530)
Luminance0.3353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7EE2 #92E27E
analogous
#9C7EE2 #CE7EE2 #E27EC4
triadic
#CE7EE2 #E2CE7E #7EE2CE
tetradic
#CE7EE2 #E29C7E #92E27E #7EC4E2
square
#CE7EE2 #E29C7E #92E27E #7EC4E2
split-complementary
#CE7EE2 #C4E27E #7EE29C
monochromatic
#9E2ABB #BB4CD7 #CE7EE2 #E1B0ED #F4E2F8

Accessibility & contrast

On white

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

On black

7.71
#CE7EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7EE2
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7EE2#FFFFFF#000000##000000
##CE7EE21.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F97E6
Deuteranopia (green-blind)
#85A0DF
Tritanopia (blue-blind)
#CF8BA5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ce7ee2;
/* rgb */ color: rgb(206, 126, 226);
/* oklch */ color: oklch(71.4% 0.163 319.4);
Tailwind
colors: {
  custom: {
    50: '#dfa5eb',
    500: '#ce7ee2',
    950: '#000000',
  },
}
SCSS
$custom: #ce7ee2;
$custom-light: #dfa5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7ee2",
  "rgb": {
    "r": 206,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 288,
    "s": 63.291,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71401,
    "c": 0.16286,
    "h": 319.4
  },
  "luminance": 0.33535
}

Semantic roles & 50–950 ramp

primary
#CE7EE2
secondary
#D5EDCF
accent
#CB1A3E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CE7EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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