#CD79F9#CD79F9

#CD79F9 is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.7% C 0.195 H 312.8°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#CD79F9
RGBrgb(205, 121, 249)
HSLhsl(279, 91%, 73%)
HSVhsv(279, 51%, 98%)
CMYKcmyk(17.7%, 51.4%, 0%, 2.4%)
CIE-LABlab(64.56, 53.98, -51.19)
CIE-LCHlch(64.56, 74.39, 316.52°)
OKLaboklab(71.7% 0.1323 -0.1429)
OKLCHoklch(71.7% 0.195 312.8)
XYZxyz(49.1102, 33.4946, 93.4822)
Luminance0.3349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79F9 #A5F979
analogous
#8D79F9 #CD79F9 #F979E5
triadic
#CD79F9 #F9CD79 #79F9CD
tetradic
#CD79F9 #F98D79 #A5F979 #79E5F9
square
#CD79F9 #F98D79 #A5F979 #79E5F9
split-complementary
#CD79F9 #E5F979 #79F98D
monochromatic
#9F0BED #B73EF6 #CD79F9 #E3B4FC #F4E2FE

Accessibility & contrast

On white

2.73
#CD79F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#CD79F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79F9
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79F9#FFFFFF#000000##000000
##CD79F91.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FD
Deuteranopia (green-blind)
#739FF6
Tritanopia (blue-blind)
#C98EAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd79f9;
/* rgb */ color: rgb(205, 121, 249);
/* oklch */ color: oklch(71.7% 0.195 312.8);
Tailwind
colors: {
  custom: {
    50: '#dfa2fc',
    500: '#cd79f9',
    950: '#000000',
  },
}
SCSS
$custom: #cd79f9;
$custom-light: #dfa2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79f9",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 279.375,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71704,
    "c": 0.19475,
    "h": 312.8
  },
  "luminance": 0.33493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD79F9

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

Preview Lab → · Contrast checker → · Palette generator →

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