#CD79F0#CD79F0

#CD79F0 is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.2% C 0.185 H 315.2°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#CD79F0
RGBrgb(205, 121, 240)
HSLhsl(282, 80%, 71%)
HSVhsv(282, 50%, 94%)
CMYKcmyk(14.6%, 49.6%, 0%, 5.9%)
CIE-LABlab(64.12, 52.12, -46.93)
CIE-LCHlch(64.12, 70.13, 318.00°)
OKLaboklab(71.23% 0.1314 -0.1306)
OKLCHoklch(71.23% 0.185 315.2)
XYZxyz(47.7399, 32.9465, 86.2657)
Luminance0.3295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79F0 #9CF079
analogous
#9179F0 #CD79F0 #F079D7
triadic
#CD79F0 #F0CD79 #79F0CD
tetradic
#CD79F0 #F09179 #9CF079 #79D7F0
square
#CD79F0 #F09179 #9CF079 #79D7F0
split-complementary
#CD79F0 #D7F079 #79F091
monochromatic
#9F18D7 #B842EA #CD79F0 #E2B0F6 #F5E3FC

Accessibility & contrast

On white

2.77
#CD79F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#CD79F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79F0
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79F0#FFFFFF#000000##000000
##CD79F01.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F4
Deuteranopia (green-blind)
#799EED
Tritanopia (blue-blind)
#CB8BAA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd79f0;
/* rgb */ color: rgb(205, 121, 240);
/* oklch */ color: oklch(71.2% 0.185 315.2);
Tailwind
colors: {
  custom: {
    50: '#dea2f5',
    500: '#cd79f0',
    950: '#000000',
  },
}
SCSS
$custom: #cd79f0;
$custom-light: #dea2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79f0",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 240
  },
  "hsl": {
    "h": 282.353,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71233,
    "c": 0.18521,
    "h": 315.2
  },
  "luminance": 0.32945
}

Semantic roles & 50–950 ramp

primary
#CD79F0
secondary
#DCF2D2
accent
#DC0947
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD79F0

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

Preview Lab → · Contrast checker → · Palette generator →

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