#CF79FE#CF79FE

#CF79FE is a light, highly saturated violet. Relative luminance 0.341; OKLCH L 72.2% C 0.201 H 312.3°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#CF79FE
RGBrgb(207, 121, 254)
HSLhsl(279, 99%, 74%)
HSVhsv(279, 52%, 100%)
CMYKcmyk(18.5%, 52.4%, 0%, 0.4%)
CIE-LABlab(65.04, 55.54, -53.16)
CIE-LCHlch(65.04, 76.88, 316.25°)
OKLaboklab(72.19% 0.135 -0.1486)
OKLCHoklch(72.19% 0.201 312.3)
XYZxyz(50.4558, 34.0971, 97.6702)
Luminance0.3410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79FE #A8FE79
analogous
#8C79FE #CF79FE #FE79EA
triadic
#CF79FE #FECF79 #79FECF
tetradic
#CF79FE #FE8C79 #A8FE79 #79EAFE
square
#CF79FE #FE8C79 #A8FE79 #79EAFE
split-complementary
#CF79FE #EAFE79 #79FE8C
monochromatic
#A302FB #B93CFE #CF79FE #E5B6FE #F4E1FF

Accessibility & contrast

On white

2.69
#CF79FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#CF79FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79FE
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79FE#FFFFFF#000000##000000
##CF79FE1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#72A0FB
Tritanopia (blue-blind)
#CA8FB0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf79fe;
/* rgb */ color: rgb(207, 121, 254);
/* oklch */ color: oklch(72.2% 0.201 312.3);
Tailwind
colors: {
  custom: {
    50: '#e0a2ff',
    500: '#cf79fe',
    950: '#000000',
  },
}
SCSS
$custom: #cf79fe;
$custom-light: #e0a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79fe",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 254
  },
  "hsl": {
    "h": 278.797,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7219,
    "c": 0.20082,
    "h": 312.3
  },
  "luminance": 0.34096
}

Semantic roles & 50–950 ramp

primary
#CF79FE
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #CF79FE

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

Preview Lab → · Contrast checker → · Palette generator →

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