#CF79E7#CF79E7

#CF79E7 is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.0% C 0.177 H 318.6°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#CF79E7
RGBrgb(207, 121, 231)
HSLhsl(287, 70%, 69%)
HSVhsv(287, 48%, 91%)
CMYKcmyk(10.4%, 47.6%, 0%, 9.4%)
CIE-LABlab(63.93, 50.85, -42.23)
CIE-LCHlch(63.93, 66.10, 320.29°)
OKLaboklab(71% 0.1326 -0.1169)
OKLCHoklch(71% 0.177 318.6)
XYZxyz(46.9914, 32.7113, 79.4244)
Luminance0.3271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79E7 #91E779
analogous
#9879E7 #CF79E7 #E779C8
triadic
#CF79E7 #E7CF79 #79E7CF
tetradic
#CF79E7 #E79879 #91E779 #79C8E7
square
#CF79E7 #E79879 #91E779 #79C8E7
split-complementary
#CF79E7 #C8E779 #79E798
monochromatic
#A023C3 #BC45DE #CF79E7 #E2ADF0 #F4E1FA

Accessibility & contrast

On white

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

On black

7.54
#CF79E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79E7
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79E7#FFFFFF#000000##000000
##CF79E71.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6695EB
Deuteranopia (green-blind)
#7F9EE4
Tritanopia (blue-blind)
#CF88A5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf79e7;
/* rgb */ color: rgb(207, 121, 231);
/* oklch */ color: oklch(71.0% 0.177 318.6);
Tailwind
colors: {
  custom: {
    50: '#e0a2ef',
    500: '#cf79e7',
    950: '#000000',
  },
}
SCSS
$custom: #cf79e7;
$custom-light: #e0a2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79e7",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 286.909,
    "s": 69.62,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71004,
    "c": 0.17675,
    "h": 318.6
  },
  "luminance": 0.3271
}

Semantic roles & 50–950 ramp

primary
#CF79E7
secondary
#D5EECE
accent
#D2143D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF79E7

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

Preview Lab → · Contrast checker → · Palette generator →

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