#CD79F8#CD79F8

#CD79F8 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.7% C 0.194 H 313.0°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#CD79F8
RGBrgb(205, 121, 248)
HSLhsl(280, 90%, 72%)
HSVhsv(280, 51%, 97%)
CMYKcmyk(17.3%, 51.2%, 0%, 2.7%)
CIE-LABlab(64.51, 53.77, -50.72)
CIE-LCHlch(64.51, 73.92, 316.67°)
OKLaboklab(71.65% 0.1322 -0.1416)
OKLCHoklch(71.65% 0.194 313)
XYZxyz(48.9546, 33.4324, 92.6630)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79F8 #A4F879
analogous
#8E79F8 #CD79F8 #F879E4
triadic
#CD79F8 #F8CD79 #79F8CD
tetradic
#CD79F8 #F88E79 #A4F879 #79E4F8
square
#CD79F8 #F88E79 #A4F879 #79E4F8
split-complementary
#CD79F8 #E4F879 #79F88E
monochromatic
#9F0CEA #B73FF5 #CD79F8 #E3B3FB #F4E2FD

Accessibility & contrast

On white

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

On black

7.69
#CD79F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79F8
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79F8#FFFFFF#000000##000000
##CD79F81.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FC
Deuteranopia (green-blind)
#749EF5
Tritanopia (blue-blind)
#C98EAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd79f8;
/* rgb */ color: rgb(205, 121, 248);
/* oklch */ color: oklch(71.7% 0.194 313.0);
Tailwind
colors: {
  custom: {
    50: '#dfa2fb',
    500: '#cd79f8',
    950: '#000000',
  },
}
SCSS
$custom: #cd79f8;
$custom-light: #dfa2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79f8",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 279.685,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71651,
    "c": 0.19368,
    "h": 313
  },
  "luminance": 0.33431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD79F8

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

Preview Lab → · Contrast checker → · Palette generator →

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