#CE7EDF#CE7EDF

#CE7EDF is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.3% C 0.160 H 320.4°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#CE7EDF
RGBrgb(206, 126, 223)
HSLhsl(289, 60%, 68%)
HSVhsv(289, 43%, 87%)
CMYKcmyk(7.6%, 43.5%, 0%, 12.5%)
CIE-LABlab(64.46, 46.40, -36.96)
CIE-LCHlch(64.46, 59.32, 321.46°)
OKLaboklab(71.26% 0.1231 -0.1018)
OKLCHoklch(71.26% 0.16 320.4)
XYZxyz(46.2321, 33.3729, 73.8040)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7EDF #8FDF7E
analogous
#9D7EDF #CE7EDF #DF7EBF
triadic
#CE7EDF #DFCE7E #7EDFCE
tetradic
#CE7EDF #DF9D7E #8FDF7E #7EBFDF
square
#CE7EDF #DF9D7E #8FDF7E #7EBFDF
split-complementary
#CE7EDF #BFDF7E #7EDF9D
monochromatic
#9E2DB6 #BB4DD3 #CE7EDF #E1AFEB #F3E0F7

Accessibility & contrast

On white

2.74
#CE7EDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#CE7EDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7EDF
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7EDF#FFFFFF#000000##000000
##CE7EDF1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7097E2
Deuteranopia (green-blind)
#869FDC
Tritanopia (blue-blind)
#CF8AA4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ce7edf;
/* rgb */ color: rgb(206, 126, 223);
/* oklch */ color: oklch(71.3% 0.160 320.4);
Tailwind
colors: {
  custom: {
    50: '#dea5e9',
    500: '#ce7edf',
    950: '#000000',
  },
}
SCSS
$custom: #ce7edf;
$custom-light: #dea5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7edf",
  "rgb": {
    "r": 206,
    "g": 126,
    "b": 223
  },
  "hsl": {
    "h": 289.485,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.7126,
    "c": 0.15976,
    "h": 320.4
  },
  "luminance": 0.33371
}

Semantic roles & 50–950 ramp

primary
#CE7EDF
secondary
#D3EBCE
accent
#C81E3B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CE7EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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