#CE7EDE#CE7EDE

#CE7EDE is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.2% C 0.159 H 320.8°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#CE7EDE
RGBrgb(206, 126, 222)
HSLhsl(290, 59%, 68%)
HSVhsv(290, 43%, 87%)
CMYKcmyk(7.2%, 43.2%, 0%, 12.9%)
CIE-LABlab(64.42, 46.21, -36.47)
CIE-LCHlch(64.42, 58.87, 321.72°)
OKLaboklab(71.21% 0.1229 -0.1004)
OKLCHoklch(71.21% 0.159 320.8)
XYZxyz(46.0977, 33.3191, 73.0961)
Luminance0.3332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7EDE #8EDE7E
analogous
#9E7EDE #CE7EDE #DE7EBE
triadic
#CE7EDE #DECE7E #7EDECE
tetradic
#CE7EDE #DE9E7E #8EDE7E #7EBEDE
square
#CE7EDE #DE9E7E #8EDE7E #7EBEDE
split-complementary
#CE7EDE #BEDE7E #7EDE9E
monochromatic
#9D2EB4 #BB4DD2 #CE7EDE #E1AFEA #F3DFF7

Accessibility & contrast

On white

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

On black

7.66
#CE7EDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7EDE
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7EDE#FFFFFF#000000##000000
##CE7EDE1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196E1
Deuteranopia (green-blind)
#869FDB
Tritanopia (blue-blind)
#D08AA4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ce7ede;
/* rgb */ color: rgb(206, 126, 222);
/* oklch */ color: oklch(71.2% 0.159 320.8);
Tailwind
colors: {
  custom: {
    50: '#dea5e8',
    500: '#ce7ede',
    950: '#000000',
  },
}
SCSS
$custom: #ce7ede;
$custom-light: #dea5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7ede",
  "rgb": {
    "r": 206,
    "g": 126,
    "b": 222
  },
  "hsl": {
    "h": 290,
    "s": 59.259,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71214,
    "c": 0.15873,
    "h": 320.8
  },
  "luminance": 0.33317
}

Semantic roles & 50–950 ramp

primary
#CE7EDE
secondary
#D2EACD
accent
#C71F3B
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CE7EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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