#CF79FA#CF79FA

#CF79FA is a light, vivid purple. Relative luminance 0.338; OKLCH L 72.0% C 0.197 H 313.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#CF79FA
RGBrgb(207, 121, 250)
HSLhsl(280, 93%, 73%)
HSVhsv(280, 52%, 98%)
CMYKcmyk(17.2%, 51.6%, 0%, 2%)
CIE-LABlab(64.84, 54.71, -51.29)
CIE-LCHlch(64.84, 74.99, 316.85°)
OKLaboklab(71.98% 0.1347 -0.1432)
OKLCHoklch(71.98% 0.197 313.3)
XYZxyz(49.8219, 33.8435, 94.3319)
Luminance0.3384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79FA #A4FA79
analogous
#8E79FA #CF79FA #FA79E5
triadic
#CF79FA #FACF79 #79FACF
tetradic
#CF79FA #FA8E79 #A4FA79 #79E5FA
square
#CF79FA #FA8E79 #A4FA79 #79E5FA
split-complementary
#CF79FA #E5FA79 #79FA8E
monochromatic
#A309F0 #BA3EF8 #CF79FA #E4B4FC #F4E2FE

Accessibility & contrast

On white

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

On black

7.77
#CF79FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79FA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79FA#FFFFFF#000000##000000
##CF79FA1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FE
Deuteranopia (green-blind)
#749FF7
Tritanopia (blue-blind)
#CB8EAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf79fa;
/* rgb */ color: rgb(207, 121, 250);
/* oklch */ color: oklch(72.0% 0.197 313.3);
Tailwind
colors: {
  custom: {
    50: '#e0a2fc',
    500: '#cf79fa',
    950: '#000000',
  },
}
SCSS
$custom: #cf79fa;
$custom-light: #e0a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79fa",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 280,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71976,
    "c": 0.19659,
    "h": 313.3
  },
  "luminance": 0.33842
}

Semantic roles & 50–950 ramp

primary
#CF79FA
secondary
#E0F6D5
accent
#E6004C
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #CF79FA

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

Preview Lab → · Contrast checker → · Palette generator →

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