#CE79EB#CE79EB

#CE79EB is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.1% C 0.180 H 317.0°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CE79EB
RGBrgb(206, 121, 235)
HSLhsl(285, 74%, 70%)
HSVhsv(285, 49%, 92%)
CMYKcmyk(12.3%, 48.5%, 0%, 7.8%)
CIE-LABlab(64.00, 51.37, -44.35)
CIE-LCHlch(64.00, 67.87, 319.20°)
OKLaboklab(71.09% 0.1319 -0.1231)
OKLCHoklch(71.09% 0.18 317)
XYZxyz(47.2842, 32.7962, 82.4207)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE79EB #96EB79
analogous
#9579EB #CE79EB #EB79CF
triadic
#CE79EB #EBCE79 #79EBCE
tetradic
#CE79EB #EB9579 #96EB79 #79CFEB
square
#CE79EB #EB9579 #96EB79 #79CFEB
split-complementary
#CE79EB #CFEB79 #79EB95
monochromatic
#9F1ECB #BB44E3 #CE79EB #E1AEF3 #F5E4FB

Accessibility & contrast

On white

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

On black

7.56
#CE79EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE79EB
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE79EB#FFFFFF#000000##000000
##CE79EB1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396EF
Deuteranopia (green-blind)
#7C9EE8
Tritanopia (blue-blind)
#CD8AA7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ce79eb;
/* rgb */ color: rgb(206, 121, 235);
/* oklch */ color: oklch(71.1% 0.180 317.0);
Tailwind
colors: {
  custom: {
    50: '#dfa2f2',
    500: '#ce79eb',
    950: '#000000',
  },
}
SCSS
$custom: #ce79eb;
$custom-light: #dfa2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce79eb",
  "rgb": {
    "r": 206,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 284.737,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71091,
    "c": 0.18041,
    "h": 317
  },
  "luminance": 0.32795
}

Semantic roles & 50–950 ramp

primary
#CE79EB
secondary
#D8F0D0
accent
#D60F42
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE79EB

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

Preview Lab → · Contrast checker → · Palette generator →

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