#CE7DF2#CE7DF2

#CE7DF2 is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.0% C 0.181 H 314.6°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#CE7DF2
RGBrgb(206, 125, 242)
HSLhsl(282, 82%, 72%)
HSVhsv(282, 48%, 95%)
CMYKcmyk(14.9%, 48.3%, 0%, 5.1%)
CIE-LABlab(65.12, 50.74, -46.44)
CIE-LCHlch(65.12, 68.79, 317.53°)
OKLaboklab(72.03% 0.1274 -0.1292)
OKLCHoklch(72.03% 0.181 314.6)
XYZxyz(48.8117, 34.2011, 88.0174)
Luminance0.3420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7DF2 #A1F27D
analogous
#947DF2 #CE7DF2 #F27DDC
triadic
#CE7DF2 #F2CE7D #7DF2CE
tetradic
#CE7DF2 #F2947D #A1F27D #7DDCF2
square
#CE7DF2 #F2947D #A1F27D #7DDCF2
split-complementary
#CE7DF2 #DCF27D #7DF294
monochromatic
#A116DE #B945EC #CE7DF2 #E3B5F8 #F5E3FC

Accessibility & contrast

On white

2.68
#CE7DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#CE7DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7DF2
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7DF2#FFFFFF#000000##000000
##CE7DF21.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#7CA0EF
Tritanopia (blue-blind)
#CB8FAC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ce7df2;
/* rgb */ color: rgb(206, 125, 242);
/* oklch */ color: oklch(72.0% 0.181 314.6);
Tailwind
colors: {
  custom: {
    50: '#dfa5f7',
    500: '#ce7df2',
    950: '#000000',
  },
}
SCSS
$custom: #ce7df2;
$custom-light: #dfa5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7df2",
  "rgb": {
    "r": 206,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 281.538,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72034,
    "c": 0.18141,
    "h": 314.6
  },
  "luminance": 0.342
}

Semantic roles & 50–950 ramp

primary
#CE7DF2
secondary
#E0F4D7
accent
#DE0749
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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