#CF79FB#CF79FB

#CF79FB is a light, vivid violet. Relative luminance 0.339; OKLCH L 72.0% C 0.198 H 313.0°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#CF79FB
RGBrgb(207, 121, 251)
HSLhsl(280, 94%, 73%)
HSVhsv(280, 52%, 98%)
CMYKcmyk(17.5%, 51.8%, 0%, 1.6%)
CIE-LABlab(64.89, 54.91, -51.76)
CIE-LCHlch(64.89, 75.46, 316.70°)
OKLaboklab(72.03% 0.1348 -0.1445)
OKLCHoklch(72.03% 0.198 313)
XYZxyz(49.9791, 33.9064, 95.1599)
Luminance0.3391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79FB #A5FB79
analogous
#8E79FB #CF79FB #FB79E6
triadic
#CF79FB #FBCF79 #79FBCF
tetradic
#CF79FB #FB8E79 #A5FB79 #79E6FB
square
#CF79FB #FB8E79 #A5FB79 #79E6FB
split-complementary
#CF79FB #E6FB79 #79FB8E
monochromatic
#A307F2 #BA3EF9 #CF79FB #E4B4FD #F4E1FE

Accessibility & contrast

On white

2.70
#CF79FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#CF79FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79FB
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79FB#FFFFFF#000000##000000
##CF79FB1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#749FF8
Tritanopia (blue-blind)
#CB8EAF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf79fb;
/* rgb */ color: rgb(207, 121, 251);
/* oklch */ color: oklch(72.0% 0.198 313.0);
Tailwind
colors: {
  custom: {
    50: '#e0a2fd',
    500: '#cf79fb',
    950: '#000000',
  },
}
SCSS
$custom: #cf79fb;
$custom-light: #e0a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79fb",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 279.692,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72029,
    "c": 0.19764,
    "h": 313
  },
  "luminance": 0.33905
}

Semantic roles & 50–950 ramp

primary
#CF79FB
secondary
#E0F6D5
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #CF79FB

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

Preview Lab → · Contrast checker → · Palette generator →

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