#CD79F1#CD79F1

#CD79F1 is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.3% C 0.186 H 314.9°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#CD79F1
RGBrgb(205, 121, 241)
HSLhsl(282, 81%, 71%)
HSVhsv(282, 50%, 95%)
CMYKcmyk(14.9%, 49.8%, 0%, 5.5%)
CIE-LABlab(64.17, 52.32, -47.41)
CIE-LCHlch(64.17, 70.60, 317.82°)
OKLaboklab(71.29% 0.1315 -0.132)
OKLCHoklch(71.29% 0.186 314.9)
XYZxyz(47.8889, 33.0061, 87.0502)
Luminance0.3301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79F1 #9DF179
analogous
#9179F1 #CD79F1 #F179D9
triadic
#CD79F1 #F1CD79 #79F1CD
tetradic
#CD79F1 #F19179 #9DF179 #79D9F1
square
#CD79F1 #F19179 #9DF179 #79D9F1
split-complementary
#CD79F1 #D9F179 #79F191
monochromatic
#9F17D9 #B842EB #CD79F1 #E2B0F7 #F5E3FC

Accessibility & contrast

On white

2.76
#CD79F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#CD79F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79F1
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79F1#FFFFFF#000000##000000
##CD79F11.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F97F5
Deuteranopia (green-blind)
#789EEE
Tritanopia (blue-blind)
#CB8BAA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd79f1;
/* rgb */ color: rgb(205, 121, 241);
/* oklch */ color: oklch(71.3% 0.186 314.9);
Tailwind
colors: {
  custom: {
    50: '#dea2f6',
    500: '#cd79f1',
    950: '#000000',
  },
}
SCSS
$custom: #cd79f1;
$custom-light: #dea2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79f1",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 241
  },
  "hsl": {
    "h": 282,
    "s": 81.081,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71285,
    "c": 0.18627,
    "h": 314.9
  },
  "luminance": 0.33005
}

Semantic roles & 50–950 ramp

primary
#CD79F1
secondary
#DDF3D3
accent
#DD0848
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD79F1

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

Preview Lab → · Contrast checker → · Palette generator →

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