#CD79F4#CD79F4

#CD79F4 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.4% C 0.189 H 314.1°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#CD79F4
RGBrgb(205, 121, 244)
HSLhsl(281, 85%, 72%)
HSVhsv(281, 50%, 96%)
CMYKcmyk(16%, 50.4%, 0%, 4.3%)
CIE-LABlab(64.31, 52.94, -48.83)
CIE-LCHlch(64.31, 72.02, 317.31°)
OKLaboklab(71.44% 0.1318 -0.1361)
OKLCHoklch(71.44% 0.189 314.1)
XYZxyz(48.3407, 33.1868, 89.4296)
Luminance0.3319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79F4 #A0F479
analogous
#9079F4 #CD79F4 #F479DD
triadic
#CD79F4 #F4CD79 #79F4CD
tetradic
#CD79F4 #F49079 #A0F479 #79DDF4
square
#CD79F4 #F49079 #A0F479 #79DDF4
split-complementary
#CD79F4 #DDF479 #79F490
monochromatic
#9F12E0 #B840EF #CD79F4 #E2B2F9 #F4E3FD

Accessibility & contrast

On white

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

On black

7.64
#CD79F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79F4
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79F4#FFFFFF#000000##000000
##CD79F41.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D97F8
Deuteranopia (green-blind)
#769EF1
Tritanopia (blue-blind)
#CA8CAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd79f4;
/* rgb */ color: rgb(205, 121, 244);
/* oklch */ color: oklch(71.4% 0.189 314.1);
Tailwind
colors: {
  custom: {
    50: '#dfa2f8',
    500: '#cd79f4',
    950: '#000000',
  },
}
SCSS
$custom: #cd79f4;
$custom-light: #dfa2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79f4",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 244
  },
  "hsl": {
    "h": 280.976,
    "s": 84.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.7144,
    "c": 0.18944,
    "h": 314.1
  },
  "luminance": 0.33186
}

Semantic roles & 50–950 ramp

primary
#CD79F4
secondary
#DFF4D5
accent
#E1044A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD79F4

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

Preview Lab → · Contrast checker → · Palette generator →

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