#CE79E5#CE79E5

#CE79E5 is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.8% C 0.174 H 318.8°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#CE79E5
RGBrgb(206, 121, 229)
HSLhsl(287, 68%, 69%)
HSVhsv(287, 47%, 90%)
CMYKcmyk(10%, 47.2%, 0%, 10.2%)
CIE-LABlab(63.72, 50.18, -41.46)
CIE-LCHlch(63.72, 65.09, 320.44°)
OKLaboklab(70.79% 0.1311 -0.1147)
OKLCHoklch(70.79% 0.174 318.8)
XYZxyz(46.4320, 32.4553, 77.9322)
Luminance0.3245 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE79E5 #90E579
analogous
#9879E5 #CE79E5 #E579C6
triadic
#CE79E5 #E5CE79 #79E5CE
tetradic
#CE79E5 #E59879 #90E579 #79C6E5
square
#CE79E5 #E59879 #90E579 #79C6E5
split-complementary
#CE79E5 #C6E579 #79E598
monochromatic
#9E25BF #BB46DB #CE79E5 #E1ACEF #F3E0F9

Accessibility & contrast

On white

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

On black

7.49
#CE79E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE79E5
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE79E5#FFFFFF#000000##000000
##CE79E51.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6795E9
Deuteranopia (green-blind)
#7F9DE2
Tritanopia (blue-blind)
#CE88A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ce79e5;
/* rgb */ color: rgb(206, 121, 229);
/* oklch */ color: oklch(70.8% 0.174 318.8);
Tailwind
colors: {
  custom: {
    50: '#dfa2ed',
    500: '#ce79e5',
    950: '#000000',
  },
}
SCSS
$custom: #ce79e5;
$custom-light: #dfa2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ce79e5",
  "rgb": {
    "r": 206,
    "g": 121,
    "b": 229
  },
  "hsl": {
    "h": 287.222,
    "s": 67.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70793,
    "c": 0.17421,
    "h": 318.8
  },
  "luminance": 0.32454
}

Semantic roles & 50–950 ramp

primary
#CE79E5
secondary
#D4EDCD
accent
#CF163E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CE79E5

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

Preview Lab → · Contrast checker → · Palette generator →

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