#CE7FDF#CE7FDF

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

Color values

HEX#CE7FDF
RGBrgb(206, 127, 223)
HSLhsl(289, 60%, 69%)
HSVhsv(289, 43%, 87%)
CMYKcmyk(7.6%, 43%, 0%, 12.5%)
CIE-LABlab(64.67, 45.88, -36.64)
CIE-LCHlch(64.67, 58.71, 321.39°)
OKLaboklab(71.41% 0.1217 -0.1009)
OKLCHoklch(71.41% 0.158 320.3)
XYZxyz(46.3606, 33.6299, 73.8469)
Luminance0.3363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7FDF #90DF7F
analogous
#9E7FDF #CE7FDF #DF7FC0
triadic
#CE7FDF #DFCE7F #7FDFCE
tetradic
#CE7FDF #DF9E7F #90DF7F #7FC0DF
square
#CE7FDF #DF9E7F #90DF7F #7FC0DF
split-complementary
#CE7FDF #C0DF7F #7FDF9E
monochromatic
#9E2EB6 #BB4ED3 #CE7FDF #E1B0EB #F3E1F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE7FDF#FFFFFF#000000##000000
##CE7FDF1.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)
#7197E2
Deuteranopia (green-blind)
#87A0DC
Tritanopia (blue-blind)
#CF8BA5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ce7fdf;
/* rgb */ color: rgb(206, 127, 223);
/* oklch */ color: oklch(71.4% 0.158 320.3);
Tailwind
colors: {
  custom: {
    50: '#dea6e9',
    500: '#ce7fdf',
    950: '#000000',
  },
}
SCSS
$custom: #ce7fdf;
$custom-light: #dea6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7fdf",
  "rgb": {
    "r": 206,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 289.375,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71414,
    "c": 0.15807,
    "h": 320.3
  },
  "luminance": 0.33628
}

Semantic roles & 50–950 ramp

primary
#CE7FDF
secondary
#D4EBCF
accent
#C81E3C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CE7FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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