#CE79FE#CE79FE

#CE79FE is a light, highly saturated violet. Relative luminance 0.340; OKLCH L 72.1% C 0.200 H 311.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#CE79FE
RGBrgb(206, 121, 254)
HSLhsl(278, 99%, 74%)
HSVhsv(278, 52%, 100%)
CMYKcmyk(18.9%, 52.4%, 0%, 0.4%)
CIE-LABlab(64.93, 55.29, -53.35)
CIE-LCHlch(64.93, 76.83, 316.02°)
OKLaboklab(72.08% 0.1339 -0.1492)
OKLCHoklch(72.08% 0.2 311.9)
XYZxyz(50.1772, 33.9534, 97.6571)
Luminance0.3395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE79FE #A9FE79
analogous
#8B79FE #CE79FE #FE79EB
triadic
#CE79FE #FECE79 #79FECE
tetradic
#CE79FE #FE8B79 #A9FE79 #79EBFE
square
#CE79FE #FE8B79 #A9FE79 #79EBFE
split-complementary
#CE79FE #EBFE79 #79FE8B
monochromatic
#A102FB #B83CFE #CE79FE #E4B6FE #F4E1FF

Accessibility & contrast

On white

2.70
#CE79FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#CE79FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE79FE
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE79FE#FFFFFF#000000##000000
##CE79FE1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#719FFB
Tritanopia (blue-blind)
#C98FB0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ce79fe;
/* rgb */ color: rgb(206, 121, 254);
/* oklch */ color: oklch(72.1% 0.200 311.9);
Tailwind
colors: {
  custom: {
    50: '#e0a2ff',
    500: '#ce79fe',
    950: '#000000',
  },
}
SCSS
$custom: #ce79fe;
$custom-light: #e0a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce79fe",
  "rgb": {
    "r": 206,
    "g": 121,
    "b": 254
  },
  "hsl": {
    "h": 278.346,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72081,
    "c": 0.20045,
    "h": 311.9
  },
  "luminance": 0.33952
}

Semantic roles & 50–950 ramp

primary
#CE79FE
secondary
#E1F7D4
accent
#E60053
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #CE79FE

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

Preview Lab → · Contrast checker → · Palette generator →

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