#CE79E7#CE79E7

#CE79E7 is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.9% C 0.176 H 318.2°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CE79E7
RGBrgb(206, 121, 231)
HSLhsl(286, 70%, 69%)
HSVhsv(286, 48%, 91%)
CMYKcmyk(10.8%, 47.6%, 0%, 9.4%)
CIE-LABlab(63.81, 50.57, -42.42)
CIE-LCHlch(63.81, 66.01, 320.01°)
OKLaboklab(70.89% 0.1314 -0.1175)
OKLCHoklch(70.89% 0.176 318.2)
XYZxyz(46.7128, 32.5677, 79.4113)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE79E7 #92E779
analogous
#9779E7 #CE79E7 #E779C9
triadic
#CE79E7 #E7CE79 #79E7CE
tetradic
#CE79E7 #E79779 #92E779 #79C9E7
square
#CE79E7 #E79779 #92E779 #79C9E7
split-complementary
#CE79E7 #C9E779 #79E797
monochromatic
#9E23C3 #BB45DE #CE79E7 #E1ADF0 #F4E1FA

Accessibility & contrast

On white

2.80
#CE79E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CE79E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE79E7
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE79E7#FFFFFF#000000##000000
##CE79E71.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6695EB
Deuteranopia (green-blind)
#7E9DE4
Tritanopia (blue-blind)
#CE88A5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ce79e7;
/* rgb */ color: rgb(206, 121, 231);
/* oklch */ color: oklch(70.9% 0.176 318.2);
Tailwind
colors: {
  custom: {
    50: '#dfa2ef',
    500: '#ce79e7',
    950: '#000000',
  },
}
SCSS
$custom: #ce79e7;
$custom-light: #dfa2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ce79e7",
  "rgb": {
    "r": 206,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 286.364,
    "s": 69.62,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70891,
    "c": 0.17626,
    "h": 318.2
  },
  "luminance": 0.32566
}

Semantic roles & 50–950 ramp

primary
#CE79E7
secondary
#D5EECE
accent
#D2143F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CE79E7

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

Preview Lab → · Contrast checker → · Palette generator →

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