#CE79FC#CE79FC

#CE79FC is a light, vivid violet. Relative luminance 0.338; OKLCH L 72.0% C 0.198 H 312.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#CE79FC
RGBrgb(206, 121, 252)
HSLhsl(279, 96%, 73%)
HSVhsv(279, 52%, 99%)
CMYKcmyk(18.3%, 52%, 0%, 1.2%)
CIE-LABlab(64.82, 54.87, -52.41)
CIE-LCHlch(64.82, 75.88, 316.31°)
OKLaboklab(71.97% 0.1337 -0.1465)
OKLCHoklch(71.97% 0.198 312.4)
XYZxyz(49.8586, 33.8260, 95.9792)
Luminance0.3382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE79FC #A7FC79
analogous
#8C79FC #CE79FC #FC79E9
triadic
#CE79FC #FCCE79 #79FCCE
tetradic
#CE79FC #FC8C79 #A7FC79 #79E9FC
square
#CE79FC #FC8C79 #A7FC79 #79E9FC
split-complementary
#CE79FC #E9FC79 #79FC8C
monochromatic
#A105F5 #B83DFB #CE79FC #E4B5FD #F4E1FE

Accessibility & contrast

On white

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

On black

7.77
#CE79FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE79FC
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE79FC#FFFFFF#000000##000000
##CE79FC1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#729FF9
Tritanopia (blue-blind)
#C98FAF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ce79fc;
/* rgb */ color: rgb(206, 121, 252);
/* oklch */ color: oklch(72.0% 0.198 312.4);
Tailwind
colors: {
  custom: {
    50: '#e0a2fe',
    500: '#ce79fc',
    950: '#000000',
  },
}
SCSS
$custom: #ce79fc;
$custom-light: #e0a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ce79fc",
  "rgb": {
    "r": 206,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 278.931,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71973,
    "c": 0.19832,
    "h": 312.4
  },
  "luminance": 0.33825
}

Semantic roles & 50–950 ramp

primary
#CE79FC
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86

Preview Lab

Preview with #CE79FC

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

Preview Lab → · Contrast checker → · Palette generator →

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