#CE79EA#CE79EA

#CE79EA is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.0% C 0.179 H 317.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#CE79EA
RGBrgb(206, 121, 234)
HSLhsl(285, 73%, 70%)
HSVhsv(285, 48%, 92%)
CMYKcmyk(12%, 48.3%, 0%, 8.2%)
CIE-LABlab(63.95, 51.17, -43.87)
CIE-LCHlch(63.95, 67.40, 319.39°)
OKLaboklab(71.04% 0.1318 -0.1217)
OKLCHoklch(71.04% 0.179 317.3)
XYZxyz(47.1401, 32.7386, 81.6619)
Luminance0.3274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE79EA #95EA79
analogous
#9679EA #CE79EA #EA79CD
triadic
#CE79EA #EACE79 #79EACE
tetradic
#CE79EA #EA9679 #95EA79 #79CDEA
square
#CE79EA #EA9679 #95EA79 #79CDEA
split-complementary
#CE79EA #CDEA79 #79EA96
monochromatic
#9F20C9 #BB44E2 #CE79EA #E1AEF2 #F5E3FB

Accessibility & contrast

On white

2.78
#CE79EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#CE79EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE79EA
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE79EA#FFFFFF#000000##000000
##CE79EA1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6495EE
Deuteranopia (green-blind)
#7D9EE7
Tritanopia (blue-blind)
#CD89A7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ce79ea;
/* rgb */ color: rgb(206, 121, 234);
/* oklch */ color: oklch(71.0% 0.179 317.3);
Tailwind
colors: {
  custom: {
    50: '#dfa2f1',
    500: '#ce79ea',
    950: '#000000',
  },
}
SCSS
$custom: #ce79ea;
$custom-light: #dfa2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce79ea",
  "rgb": {
    "r": 206,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 285.133,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7104,
    "c": 0.17937,
    "h": 317.3
  },
  "luminance": 0.32737
}

Semantic roles & 50–950 ramp

primary
#CE79EA
secondary
#D7F0CF
accent
#D51141
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE79EA

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

Preview Lab → · Contrast checker → · Palette generator →

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