#CD79FA#CD79FA

#CD79FA is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.8% C 0.196 H 312.5°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CD79FA
RGBrgb(205, 121, 250)
HSLhsl(279, 93%, 73%)
HSVhsv(279, 52%, 98%)
CMYKcmyk(18%, 51.6%, 0%, 2%)
CIE-LABlab(64.61, 54.19, -51.66)
CIE-LCHlch(64.61, 74.87, 316.37°)
OKLaboklab(71.76% 0.1324 -0.1443)
OKLCHoklch(71.76% 0.196 312.5)
XYZxyz(49.2665, 33.5572, 94.3058)
Luminance0.3356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79FA #A6FA79
analogous
#8C79FA #CD79FA #FA79E6
triadic
#CD79FA #FACD79 #79FACD
tetradic
#CD79FA #FA8C79 #A6FA79 #79E6FA
square
#CD79FA #FA8C79 #A6FA79 #79E6FA
split-complementary
#CD79FA #E6FA79 #79FA8C
monochromatic
#9F09F0 #B73EF8 #CD79FA #E3B4FC #F4E2FE

Accessibility & contrast

On white

2.72
#CD79FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#CD79FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79FA
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79FA#FFFFFF#000000##000000
##CD79FA1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FE
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#C98EAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd79fa;
/* rgb */ color: rgb(205, 121, 250);
/* oklch */ color: oklch(71.8% 0.196 312.5);
Tailwind
colors: {
  custom: {
    50: '#dfa2fc',
    500: '#cd79fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd79fa;
$custom-light: #dfa2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79fa",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 279.07,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71757,
    "c": 0.19582,
    "h": 312.5
  },
  "luminance": 0.33556
}

Semantic roles & 50–950 ramp

primary
#CD79FA
secondary
#E0F6D5
accent
#E60050
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD79FA

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

Preview Lab → · Contrast checker → · Palette generator →

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