#CF79E8#CF79E8

#CF79E8 is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.1% C 0.178 H 318.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#CF79E8
RGBrgb(207, 121, 232)
HSLhsl(286, 71%, 69%)
HSVhsv(286, 48%, 91%)
CMYKcmyk(10.8%, 47.8%, 0%, 9%)
CIE-LABlab(63.97, 51.05, -42.71)
CIE-LCHlch(63.97, 66.56, 320.08°)
OKLaboklab(71.05% 0.1327 -0.1183)
OKLCHoklch(71.05% 0.178 318.3)
XYZxyz(47.1330, 32.7680, 80.1703)
Luminance0.3277 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79E8 #92E879
analogous
#9879E8 #CF79E8 #E879CA
triadic
#CF79E8 #E8CF79 #79E8CF
tetradic
#CF79E8 #E89879 #92E879 #79CAE8
square
#CF79E8 #E89879 #92E879 #79CAE8
split-complementary
#CF79E8 #CAE879 #79E898
monochromatic
#A022C5 #BC45DF #CF79E8 #E2ADF1 #F4E1FA

Accessibility & contrast

On white

2.78
#CF79E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#CF79E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79E8
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79E8#FFFFFF#000000##000000
##CF79E81.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6595EC
Deuteranopia (green-blind)
#7E9EE5
Tritanopia (blue-blind)
#CF88A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf79e8;
/* rgb */ color: rgb(207, 121, 232);
/* oklch */ color: oklch(71.1% 0.178 318.3);
Tailwind
colors: {
  custom: {
    50: '#e0a2f0',
    500: '#cf79e8',
    950: '#000000',
  },
}
SCSS
$custom: #cf79e8;
$custom-light: #e0a2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79e8",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 232
  },
  "hsl": {
    "h": 286.486,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71053,
    "c": 0.17778,
    "h": 318.3
  },
  "luminance": 0.32766
}

Semantic roles & 50–950 ramp

primary
#CF79E8
secondary
#D6EFCE
accent
#D3133E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF79E8

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

Preview Lab → · Contrast checker → · Palette generator →

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