#CD79F3#CD79F3

#CD79F3 is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.4% C 0.188 H 314.3°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#CD79F3
RGBrgb(205, 121, 243)
HSLhsl(281, 84%, 71%)
HSVhsv(281, 50%, 95%)
CMYKcmyk(15.6%, 50.2%, 0%, 4.7%)
CIE-LABlab(64.26, 52.73, -48.36)
CIE-LCHlch(64.26, 71.55, 317.48°)
OKLaboklab(71.39% 0.1317 -0.1347)
OKLCHoklch(71.39% 0.188 314.3)
XYZxyz(48.1893, 33.1262, 88.6321)
Luminance0.3312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79F3 #9FF379
analogous
#9079F3 #CD79F3 #F379DC
triadic
#CD79F3 #F3CD79 #79F3CD
tetradic
#CD79F3 #F39079 #9FF379 #79DCF3
square
#CD79F3 #F39079 #9FF379 #79DCF3
split-complementary
#CD79F3 #DCF379 #79F390
monochromatic
#9F14DE #B841EE #CD79F3 #E2B1F8 #F5E3FC

Accessibility & contrast

On white

2.75
#CD79F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#CD79F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79F3
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79F3#FFFFFF#000000##000000
##CD79F31.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D97F7
Deuteranopia (green-blind)
#779EF0
Tritanopia (blue-blind)
#CA8CAB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd79f3;
/* rgb */ color: rgb(205, 121, 243);
/* oklch */ color: oklch(71.4% 0.188 314.3);
Tailwind
colors: {
  custom: {
    50: '#dea2f7',
    500: '#cd79f3',
    950: '#000000',
  },
}
SCSS
$custom: #cd79f3;
$custom-light: #dea2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79f3",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 243
  },
  "hsl": {
    "h": 281.311,
    "s": 83.562,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71388,
    "c": 0.18838,
    "h": 314.3
  },
  "luminance": 0.33125
}

Semantic roles & 50–950 ramp

primary
#CD79F3
secondary
#DEF4D4
accent
#E0064A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD79F3

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

Preview Lab → · Contrast checker → · Palette generator →

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