#CF79EA#CF79EA

#CF79EA is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.2% C 0.180 H 317.7°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CF79EA
RGBrgb(207, 121, 234)
HSLhsl(286, 73%, 70%)
HSVhsv(286, 48%, 92%)
CMYKcmyk(11.5%, 48.3%, 0%, 8.2%)
CIE-LABlab(64.07, 51.45, -43.68)
CIE-LCHlch(64.07, 67.49, 319.67°)
OKLaboklab(71.15% 0.133 -0.1211)
OKLCHoklch(71.15% 0.18 317.7)
XYZxyz(47.4187, 32.8822, 81.6750)
Luminance0.3288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79EA #94EA79
analogous
#9779EA #CF79EA #EA79CC
triadic
#CF79EA #EACF79 #79EACF
tetradic
#CF79EA #EA9779 #94EA79 #79CCEA
square
#CF79EA #EA9779 #94EA79 #79CCEA
split-complementary
#CF79EA #CCEA79 #79EA97
monochromatic
#A120C9 #BC44E2 #CF79EA #E2AEF2 #F5E3FB

Accessibility & contrast

On white

2.77
#CF79EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#CF79EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79EA
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79EA#FFFFFF#000000##000000
##CF79EA1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EE
Deuteranopia (green-blind)
#7D9EE7
Tritanopia (blue-blind)
#CF89A7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf79ea;
/* rgb */ color: rgb(207, 121, 234);
/* oklch */ color: oklch(71.2% 0.180 317.7);
Tailwind
colors: {
  custom: {
    50: '#e0a2f1',
    500: '#cf79ea',
    950: '#000000',
  },
}
SCSS
$custom: #cf79ea;
$custom-light: #e0a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79ea",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 285.664,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71152,
    "c": 0.17985,
    "h": 317.7
  },
  "luminance": 0.32881
}

Semantic roles & 50–950 ramp

primary
#CF79EA
secondary
#D7F0CF
accent
#D5113F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF79EA

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

Preview Lab → · Contrast checker → · Palette generator →

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