#CE79F8#CE79F8

#CE79F8 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.8% C 0.194 H 313.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CE79F8
RGBrgb(206, 121, 248)
HSLhsl(280, 90%, 72%)
HSVhsv(280, 51%, 97%)
CMYKcmyk(16.9%, 51.2%, 0%, 2.7%)
CIE-LABlab(64.62, 54.03, -50.53)
CIE-LCHlch(64.62, 73.98, 316.92°)
OKLaboklab(71.76% 0.1334 -0.141)
OKLCHoklch(71.76% 0.194 313.4)
XYZxyz(49.2314, 33.5751, 92.6760)
Luminance0.3357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE79F8 #A3F879
analogous
#8E79F8 #CE79F8 #F879E3
triadic
#CE79F8 #F8CE79 #79F8CE
tetradic
#CE79F8 #F88E79 #A3F879 #79E3F8
square
#CE79F8 #F88E79 #A3F879 #79E3F8
split-complementary
#CE79F8 #E3F879 #79F88E
monochromatic
#A10CEA #B93FF5 #CE79F8 #E3B3FB #F4E2FD

Accessibility & contrast

On white

2.72
#CE79F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#CE79F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE79F8
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE79F8#FFFFFF#000000##000000
##CE79F81.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FC
Deuteranopia (green-blind)
#759FF5
Tritanopia (blue-blind)
#CA8DAD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ce79f8;
/* rgb */ color: rgb(206, 121, 248);
/* oklch */ color: oklch(71.8% 0.194 313.4);
Tailwind
colors: {
  custom: {
    50: '#dfa2fb',
    500: '#ce79f8',
    950: '#000000',
  },
}
SCSS
$custom: #ce79f8;
$custom-light: #dfa2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce79f8",
  "rgb": {
    "r": 206,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 280.157,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7176,
    "c": 0.19408,
    "h": 313.4
  },
  "luminance": 0.33574
}

Semantic roles & 50–950 ramp

primary
#CE79F8
secondary
#E0F6D5
accent
#E6004C
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F17
muted
#847F85

Preview Lab

Preview with #CE79F8

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

Preview Lab → · Contrast checker → · Palette generator →

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