#CD79F2#CD79F2

#CD79F2 is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.3% C 0.187 H 314.6°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CD79F2
RGBrgb(205, 121, 242)
HSLhsl(282, 82%, 71%)
HSVhsv(282, 50%, 95%)
CMYKcmyk(15.3%, 50%, 0%, 5.1%)
CIE-LABlab(64.21, 52.53, -47.88)
CIE-LCHlch(64.21, 71.08, 317.65°)
OKLaboklab(71.34% 0.1316 -0.1333)
OKLCHoklch(71.34% 0.187 314.6)
XYZxyz(48.0387, 33.0660, 87.8390)
Luminance0.3306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79F2 #9EF279
analogous
#9079F2 #CD79F2 #F279DA
triadic
#CD79F2 #F2CD79 #79F2CD
tetradic
#CD79F2 #F29079 #9EF279 #79DAF2
square
#CD79F2 #F29079 #9EF279 #79DAF2
split-complementary
#CD79F2 #DAF279 #79F290
monochromatic
#9F15DB #B841ED #CD79F2 #E2B1F7 #F5E3FC

Accessibility & contrast

On white

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

On black

7.61
#CD79F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79F2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79F2#FFFFFF#000000##000000
##CD79F21.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F6
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#CA8CAB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd79f2;
/* rgb */ color: rgb(205, 121, 242);
/* oklch */ color: oklch(71.3% 0.187 314.6);
Tailwind
colors: {
  custom: {
    50: '#dea2f7',
    500: '#cd79f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd79f2;
$custom-light: #dea2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79f2",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 281.653,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71336,
    "c": 0.18732,
    "h": 314.6
  },
  "luminance": 0.33065
}

Semantic roles & 50–950 ramp

primary
#CD79F2
secondary
#DDF3D3
accent
#DF0749
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD79F2

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

Preview Lab → · Contrast checker → · Palette generator →

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