#CF79FD#CF79FD

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

Color values

HEX#CF79FD
RGBrgb(207, 121, 253)
HSLhsl(279, 97%, 73%)
HSVhsv(279, 52%, 99%)
CMYKcmyk(18.2%, 52.2%, 0%, 0.8%)
CIE-LABlab(64.99, 55.33, -52.69)
CIE-LCHlch(64.99, 76.41, 316.40°)
OKLaboklab(72.14% 0.135 -0.1473)
OKLCHoklch(72.14% 0.2 312.5)
XYZxyz(50.2960, 34.0332, 96.8290)
Luminance0.3403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79FD #A7FD79
analogous
#8D79FD #CF79FD #FD79E9
triadic
#CF79FD #FDCF79 #79FDCF
tetradic
#CF79FD #FD8D79 #A7FD79 #79E9FD
square
#CF79FD #FD8D79 #A7FD79 #79E9FD
split-complementary
#CF79FD #E9FD79 #79FD8D
monochromatic
#A304F8 #B93DFC #CF79FD #E5B5FE #F4E1FF

Accessibility & contrast

On white

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

On black

7.81
#CF79FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79FD
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79FD#FFFFFF#000000##000000
##CF79FD1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf79fd;
/* rgb */ color: rgb(207, 121, 253);
/* oklch */ color: oklch(72.1% 0.200 312.5);
Tailwind
colors: {
  custom: {
    50: '#e0a2fe',
    500: '#cf79fd',
    950: '#000000',
  },
}
SCSS
$custom: #cf79fd;
$custom-light: #e0a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79fd",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 253
  },
  "hsl": {
    "h": 279.091,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72136,
    "c": 0.19976,
    "h": 312.5
  },
  "luminance": 0.34032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF79FD

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

Preview Lab → · Contrast checker → · Palette generator →

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