#CE79F6#CE79F6

#CE79F6 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.7% C 0.192 H 313.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#CE79F6
RGBrgb(206, 121, 246)
HSLhsl(281, 87%, 72%)
HSVhsv(281, 51%, 96%)
CMYKcmyk(16.3%, 50.8%, 0%, 3.5%)
CIE-LABlab(64.53, 53.62, -49.59)
CIE-LCHlch(64.53, 73.03, 317.24°)
OKLaboklab(71.66% 0.1332 -0.1383)
OKLCHoklch(71.66% 0.192 313.9)
XYZxyz(48.9228, 33.4517, 91.0506)
Luminance0.3345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE79F6 #A1F679
analogous
#9079F6 #CE79F6 #F679E0
triadic
#CE79F6 #F6CE79 #79F6CE
tetradic
#CE79F6 #F69079 #A1F679 #79E0F6
square
#CE79F6 #F69079 #A1F679 #79E0F6
split-complementary
#CE79F6 #E0F679 #79F690
monochromatic
#A10FE5 #B940F2 #CE79F6 #E3B2FA #F5E2FD

Accessibility & contrast

On white

2.73
#CE79F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#CE79F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE79F6
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE79F6#FFFFFF#000000##000000
##CE79F61.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FA
Deuteranopia (green-blind)
#769FF3
Tritanopia (blue-blind)
#CB8DAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ce79f6;
/* rgb */ color: rgb(206, 121, 246);
/* oklch */ color: oklch(71.7% 0.192 313.9);
Tailwind
colors: {
  custom: {
    50: '#dfa2f9',
    500: '#ce79f6',
    950: '#000000',
  },
}
SCSS
$custom: #ce79f6;
$custom-light: #dfa2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ce79f6",
  "rgb": {
    "r": 206,
    "g": 121,
    "b": 246
  },
  "hsl": {
    "h": 280.8,
    "s": 87.413,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71655,
    "c": 0.19196,
    "h": 313.9
  },
  "luminance": 0.3345
}

Semantic roles & 50–950 ramp

primary
#CE79F6
secondary
#E0F5D6
accent
#E4024A
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F17
muted
#847F85

Preview Lab

Preview with #CE79F6

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

Preview Lab → · Contrast checker → · Palette generator →

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