#CF79FF#CF79FF

#CF79FF is a light, highly saturated violet. Relative luminance 0.342; OKLCH L 72.2% C 0.202 H 312.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#CF79FF
RGBrgb(207, 121, 255)
HSLhsl(279, 100%, 74%)
HSVhsv(279, 53%, 100%)
CMYKcmyk(18.8%, 52.5%, 0%, 0%)
CIE-LABlab(65.09, 55.75, -53.63)
CIE-LCHlch(65.09, 77.36, 316.11°)
OKLaboklab(72.24% 0.1351 -0.15)
OKLCHoklch(72.24% 0.202 312)
XYZxyz(50.6163, 34.1613, 98.5157)
Luminance0.3416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79FF #A9FF79
analogous
#8C79FF #CF79FF #FF79EC
triadic
#CF79FF #FFCF79 #79FFCF
tetradic
#CF79FF #FF8C79 #A9FF79 #79ECFF
square
#CF79FF #FF8C79 #A9FF79 #79ECFF
split-complementary
#CF79FF #ECFF79 #79FF8C
monochromatic
#A300FE #B93CFF #CF79FF #E5B6FF #F4E0FF

Accessibility & contrast

On white

2.68
#CF79FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#CF79FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79FF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79FF#FFFFFF#000000##000000
##CF79FF1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#559AFF
Deuteranopia (green-blind)
#71A0FC
Tritanopia (blue-blind)
#CA8FB1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf79ff;
/* rgb */ color: rgb(207, 121, 255);
/* oklch */ color: oklch(72.2% 0.202 312.0);
Tailwind
colors: {
  custom: {
    50: '#e0a2ff',
    500: '#cf79ff',
    950: '#000000',
  },
}
SCSS
$custom: #cf79ff;
$custom-light: #e0a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79ff",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 255
  },
  "hsl": {
    "h": 278.507,
    "s": 100,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72244,
    "c": 0.20188,
    "h": 312
  },
  "luminance": 0.3416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF79FF

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

Preview Lab → · Contrast checker → · Palette generator →

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