#CD79F6#CD79F6

#CD79F6 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.5% C 0.192 H 313.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#CD79F6
RGBrgb(205, 121, 246)
HSLhsl(280, 87%, 72%)
HSVhsv(280, 51%, 96%)
CMYKcmyk(16.7%, 50.8%, 0%, 3.5%)
CIE-LABlab(64.41, 53.35, -49.78)
CIE-LCHlch(64.41, 72.97, 316.99°)
OKLaboklab(71.55% 0.132 -0.1388)
OKLCHoklch(71.55% 0.192 313.5)
XYZxyz(48.6460, 33.3089, 91.0376)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79F6 #A2F679
analogous
#8F79F6 #CD79F6 #F679E1
triadic
#CD79F6 #F6CD79 #79F6CD
tetradic
#CD79F6 #F68F79 #A2F679 #79E1F6
square
#CD79F6 #F68F79 #A2F679 #79E1F6
split-complementary
#CD79F6 #E1F679 #79F68F
monochromatic
#9F0FE5 #B840F2 #CD79F6 #E2B2FA #F4E2FD

Accessibility & contrast

On white

2.74
#CD79F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#CD79F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79F6
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79F6#FFFFFF#000000##000000
##CD79F61.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B97FA
Deuteranopia (green-blind)
#759EF3
Tritanopia (blue-blind)
#C98DAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd79f6;
/* rgb */ color: rgb(205, 121, 246);
/* oklch */ color: oklch(71.5% 0.192 313.5);
Tailwind
colors: {
  custom: {
    50: '#dfa2f9',
    500: '#cd79f6',
    950: '#000000',
  },
}
SCSS
$custom: #cd79f6;
$custom-light: #dfa2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79f6",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 246
  },
  "hsl": {
    "h": 280.32,
    "s": 87.413,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71545,
    "c": 0.19156,
    "h": 313.5
  },
  "luminance": 0.33308
}

Semantic roles & 50–950 ramp

primary
#CD79F6
secondary
#E0F5D6
accent
#E4024C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD79F6

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

Preview Lab → · Contrast checker → · Palette generator →

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