#CD50F5#CD50F5

#CD50F5 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.4% C 0.248 H 316.8°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#CD50F5
RGBrgb(205, 80, 245)
HSLhsl(285, 89%, 64%)
HSVhsv(285, 67%, 96%)
CMYKcmyk(16.3%, 67.3%, 0%, 3.9%)
CIE-LABlab(57.38, 72.04, -60.42)
CIE-LCHlch(57.38, 94.03, 320.01°)
OKLaboklab(66.41% 0.1808 -0.1697)
OKLCHoklch(66.41% 0.248 316.8)
XYZxyz(44.5245, 25.3108, 88.9086)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50F5 #78F550
analogous
#7A50F5 #CD50F5 #F550CA
triadic
#CD50F5 #F5CD50 #50F5CD
tetradic
#CD50F5 #F57A50 #78F550 #50CAF5
square
#CD50F5 #F57A50 #78F550 #50CAF5
split-complementary
#CD50F5 #CAF550 #50F57A
monochromatic
#940BC0 #BC16F2 #CD50F5 #DE8AF8 #EEC4FC

Accessibility & contrast

On white

3.46
#CD50F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#CD50F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50F5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50F5#FFFFFF#000000##000000
##CD50F51.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#528DF1
Tritanopia (blue-blind)
#CB709D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd50f5;
/* rgb */ color: rgb(205, 80, 245);
/* oklch */ color: oklch(66.4% 0.248 316.8);
Tailwind
colors: {
  custom: {
    50: '#e08af9',
    500: '#cd50f5',
    950: '#000000',
  },
}
SCSS
$custom: #cd50f5;
$custom-light: #e08af9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50f5",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 245
  },
  "hsl": {
    "h": 285.455,
    "s": 89.189,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66405,
    "c": 0.24795,
    "h": 316.8
  },
  "luminance": 0.25309
}

Semantic roles & 50–950 ramp

primary
#CD50F5
secondary
#C1EDB3
accent
#E60038
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D17
muted
#847D85

Preview Lab

Preview with #CD50F5

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

Preview Lab → · Contrast checker → · Palette generator →

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