#CF79FC#CF79FC

#CF79FC is a light, vivid violet. Relative luminance 0.340; OKLCH L 72.1% C 0.199 H 312.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#CF79FC
RGBrgb(207, 121, 252)
HSLhsl(279, 96%, 73%)
HSVhsv(279, 52%, 99%)
CMYKcmyk(17.9%, 52%, 0%, 1.2%)
CIE-LABlab(64.94, 55.12, -52.22)
CIE-LCHlch(64.94, 75.93, 316.55°)
OKLaboklab(72.08% 0.1349 -0.1459)
OKLCHoklch(72.08% 0.199 312.8)
XYZxyz(50.1372, 33.9696, 95.9922)
Luminance0.3397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79FC #A6FC79
analogous
#8D79FC #CF79FC #FC79E8
triadic
#CF79FC #FCCF79 #79FCCF
tetradic
#CF79FC #FC8D79 #A6FC79 #79E8FC
square
#CF79FC #FC8D79 #A6FC79 #79E8FC
split-complementary
#CF79FC #E8FC79 #79FC8D
monochromatic
#A305F5 #BA3DFB #CF79FC #E4B5FD #F4E1FE

Accessibility & contrast

On white

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

On black

7.79
#CF79FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79FC
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79FC#FFFFFF#000000##000000
##CF79FC1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#73A0F9
Tritanopia (blue-blind)
#CB8FAF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf79fc;
/* rgb */ color: rgb(207, 121, 252);
/* oklch */ color: oklch(72.1% 0.199 312.8);
Tailwind
colors: {
  custom: {
    50: '#e0a2fe',
    500: '#cf79fc',
    950: '#000000',
  },
}
SCSS
$custom: #cf79fc;
$custom-light: #e0a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79fc",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 279.389,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72083,
    "c": 0.1987,
    "h": 312.8
  },
  "luminance": 0.33968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF79FC

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

Preview Lab → · Contrast checker → · Palette generator →

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