#CE7EEF#CE7EEF

#CE7EEF is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.0% C 0.177 H 315.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#CE7EEF
RGBrgb(206, 126, 239)
HSLhsl(282, 78%, 72%)
HSVhsv(282, 47%, 94%)
CMYKcmyk(13.8%, 47.3%, 0%, 6.3%)
CIE-LABlab(65.18, 49.61, -44.69)
CIE-LCHlch(65.18, 66.77, 317.98°)
OKLaboklab(72.03% 0.1256 -0.1241)
OKLCHoklch(72.03% 0.177 315.4)
XYZxyz(48.4920, 34.2769, 85.7063)
Luminance0.3428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7EEF #9FEF7E
analogous
#967EEF #CE7EEF #EF7ED8
triadic
#CE7EEF #EFCE7E #7EEFCE
tetradic
#CE7EEF #EF967E #9FEF7E #7ED8EF
square
#CE7EEF #EF967E #9FEF7E #7ED8EF
split-complementary
#CE7EEF #D8EF7E #7EEF96
monochromatic
#A11BD8 #B948E8 #CE7EEF #E3B4F6 #F5E4FC

Accessibility & contrast

On white

2.67
#CE7EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#CE7EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7EEF
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7EEF#FFFFFF#000000##000000
##CE7EEF1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#7EA1EC
Tritanopia (blue-blind)
#CC8FAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ce7eef;
/* rgb */ color: rgb(206, 126, 239);
/* oklch */ color: oklch(72.0% 0.177 315.4);
Tailwind
colors: {
  custom: {
    50: '#dfa5f4',
    500: '#ce7eef',
    950: '#000000',
  },
}
SCSS
$custom: #ce7eef;
$custom-light: #dfa5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7eef",
  "rgb": {
    "r": 206,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 282.478,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72033,
    "c": 0.17659,
    "h": 315.4
  },
  "luminance": 0.34276
}

Semantic roles & 50–950 ramp

primary
#CE7EEF
secondary
#DEF3D6
accent
#DA0B48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE7EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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