#CE79FB#CE79FB

#CE79FB is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.9% C 0.197 H 312.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#CE79FB
RGBrgb(206, 121, 251)
HSLhsl(279, 94%, 73%)
HSVhsv(279, 52%, 98%)
CMYKcmyk(17.9%, 51.8%, 0%, 1.6%)
CIE-LABlab(64.77, 54.66, -51.94)
CIE-LCHlch(64.77, 75.40, 316.46°)
OKLaboklab(71.92% 0.1336 -0.1451)
OKLCHoklch(71.92% 0.197 312.6)
XYZxyz(49.7006, 33.7628, 95.1468)
Luminance0.3376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE79FB #A6FB79
analogous
#8D79FB #CE79FB #FB79E7
triadic
#CE79FB #FBCE79 #79FBCE
tetradic
#CE79FB #FB8D79 #A6FB79 #79E7FB
square
#CE79FB #FB8D79 #A6FB79 #79E7FB
split-complementary
#CE79FB #E7FB79 #79FB8D
monochromatic
#A107F2 #B83EF9 #CE79FB #E4B4FD #F4E1FE

Accessibility & contrast

On white

2.71
#CE79FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#CE79FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE79FB
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE79FB#FFFFFF#000000##000000
##CE79FB1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#739FF8
Tritanopia (blue-blind)
#CA8EAF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ce79fb;
/* rgb */ color: rgb(206, 121, 251);
/* oklch */ color: oklch(71.9% 0.197 312.6);
Tailwind
colors: {
  custom: {
    50: '#dfa2fd',
    500: '#ce79fb',
    950: '#000000',
  },
}
SCSS
$custom: #ce79fb;
$custom-light: #dfa2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce79fb",
  "rgb": {
    "r": 206,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 279.231,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7192,
    "c": 0.19727,
    "h": 312.6
  },
  "luminance": 0.33762
}

Semantic roles & 50–950 ramp

primary
#CE79FB
secondary
#E0F6D5
accent
#E6004F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86

Preview Lab

Preview with #CE79FB

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

Preview Lab → · Contrast checker → · Palette generator →

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