#CF79EB#CF79EB

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

Color values

HEX#CF79EB
RGBrgb(207, 121, 235)
HSLhsl(285, 74%, 70%)
HSVhsv(285, 49%, 92%)
CMYKcmyk(11.9%, 48.5%, 0%, 7.8%)
CIE-LABlab(64.11, 51.65, -44.16)
CIE-LCHlch(64.11, 67.95, 319.47°)
OKLaboklab(71.2% 0.1331 -0.1225)
OKLCHoklch(71.2% 0.181 317.4)
XYZxyz(47.5628, 32.9399, 82.4337)
Luminance0.3294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79EB #95EB79
analogous
#9679EB #CF79EB #EB79CE
triadic
#CF79EB #EBCF79 #79EBCF
tetradic
#CF79EB #EB9679 #95EB79 #79CEEB
square
#CF79EB #EB9679 #95EB79 #79CEEB
split-complementary
#CF79EB #CEEB79 #79EB96
monochromatic
#A11ECB #BC44E3 #CF79EB #E2AEF3 #F5E4FB

Accessibility & contrast

On white

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

On black

7.59
#CF79EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79EB
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79EB#FFFFFF#000000##000000
##CF79EB1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396EF
Deuteranopia (green-blind)
#7D9EE8
Tritanopia (blue-blind)
#CE89A7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf79eb;
/* rgb */ color: rgb(207, 121, 235);
/* oklch */ color: oklch(71.2% 0.181 317.4);
Tailwind
colors: {
  custom: {
    50: '#e0a2f2',
    500: '#cf79eb',
    950: '#000000',
  },
}
SCSS
$custom: #cf79eb;
$custom-light: #e0a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79eb",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 285.263,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71202,
    "c": 0.18088,
    "h": 317.4
  },
  "luminance": 0.32938
}

Semantic roles & 50–950 ramp

primary
#CF79EB
secondary
#D8F0D0
accent
#D60F40
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF79EB

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

Preview Lab → · Contrast checker → · Palette generator →

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