#CE79E1#CE79E1

#CE79E1 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.6% C 0.170 H 320.1°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CE79E1
RGBrgb(206, 121, 225)
HSLhsl(289, 63%, 68%)
HSVhsv(289, 46%, 88%)
CMYKcmyk(8.4%, 46.2%, 0%, 11.8%)
CIE-LABlab(63.54, 49.39, -39.52)
CIE-LCHlch(63.54, 63.26, 321.34°)
OKLaboklab(70.6% 0.1305 -0.1091)
OKLCHoklch(70.6% 0.17 320.1)
XYZxyz(45.8799, 32.2345, 75.0247)
Luminance0.3223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE79E1 #8CE179
analogous
#9A79E1 #CE79E1 #E179C0
triadic
#CE79E1 #E1CE79 #79E1CE
tetradic
#CE79E1 #E19A79 #8CE179 #79C0E1
square
#CE79E1 #E19A79 #8CE179 #79C0E1
split-complementary
#CE79E1 #C0E179 #79E19A
monochromatic
#9D29B7 #BC47D6 #CE79E1 #E0ABEC #F3DDF7

Accessibility & contrast

On white

2.82
#CE79E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#CE79E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE79E1
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE79E1#FFFFFF#000000##000000
##CE79E11.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6994E5
Deuteranopia (green-blind)
#819DDE
Tritanopia (blue-blind)
#CF87A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ce79e1;
/* rgb */ color: rgb(206, 121, 225);
/* oklch */ color: oklch(70.6% 0.170 320.1);
Tailwind
colors: {
  custom: {
    50: '#dfa2eb',
    500: '#ce79e1',
    950: '#000000',
  },
}
SCSS
$custom: #ce79e1;
$custom-light: #dfa2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce79e1",
  "rgb": {
    "r": 206,
    "g": 121,
    "b": 225
  },
  "hsl": {
    "h": 289.038,
    "s": 63.415,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70599,
    "c": 0.17012,
    "h": 320.1
  },
  "luminance": 0.32233
}

Semantic roles & 50–950 ramp

primary
#CE79E1
secondary
#D1EBCB
accent
#CB1A3B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CE79E1

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

Preview Lab → · Contrast checker → · Palette generator →

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