#CF79EF#CF79EF

#CF79EF is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.4% C 0.185 H 316.2°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#CF79EF
RGBrgb(207, 121, 239)
HSLhsl(284, 79%, 71%)
HSVhsv(284, 49%, 94%)
CMYKcmyk(13.4%, 49.4%, 0%, 6.3%)
CIE-LABlab(64.30, 52.45, -46.07)
CIE-LCHlch(64.30, 69.81, 318.70°)
OKLaboklab(71.4% 0.1336 -0.128)
OKLCHoklch(71.4% 0.185 316.2)
XYZxyz(48.1472, 33.1736, 85.5115)
Luminance0.3317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79EF #99EF79
analogous
#9479EF #CF79EF #EF79D4
triadic
#CF79EF #EFCF79 #79EFCF
tetradic
#CF79EF #EF9479 #99EF79 #79D4EF
square
#CF79EF #EF9479 #99EF79 #79D4EF
split-complementary
#CF79EF #D4EF79 #79EF94
monochromatic
#A219D4 #BB42E8 #CF79EF #E3B0F6 #F5E4FC

Accessibility & contrast

On white

2.75
#CF79EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#CF79EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79EF
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79EF#FFFFFF#000000##000000
##CF79EF1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6197F3
Deuteranopia (green-blind)
#7B9EEC
Tritanopia (blue-blind)
#CE8BA9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cf79ef;
/* rgb */ color: rgb(207, 121, 239);
/* oklch */ color: oklch(71.4% 0.185 316.2);
Tailwind
colors: {
  custom: {
    50: '#e0a2f5',
    500: '#cf79ef',
    950: '#000000',
  },
}
SCSS
$custom: #cf79ef;
$custom-light: #e0a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79ef",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 283.729,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71404,
    "c": 0.18503,
    "h": 316.2
  },
  "luminance": 0.33172
}

Semantic roles & 50–950 ramp

primary
#CF79EF
secondary
#DBF2D2
accent
#DB0B43
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF79EF

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

Preview Lab → · Contrast checker → · Palette generator →

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