#CD50F2#CD50F2

#CD50F2 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.2% C 0.245 H 317.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#CD50F2
RGBrgb(205, 80, 242)
HSLhsl(286, 86%, 63%)
HSVhsv(286, 67%, 95%)
CMYKcmyk(15.3%, 66.9%, 0%, 5.1%)
CIE-LABlab(57.20, 71.47, -59.03)
CIE-LCHlch(57.20, 92.70, 320.44°)
OKLaboklab(66.22% 0.181 -0.1656)
OKLCHoklch(66.22% 0.245 317.5)
XYZxyz(44.0702, 25.1291, 86.5162)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50F2 #75F250
analogous
#7C50F2 #CD50F2 #F250C6
triadic
#CD50F2 #F2CD50 #50F2CD
tetradic
#CD50F2 #F27C50 #75F250 #50C6F2
square
#CD50F2 #F27C50 #75F250 #50C6F2
split-complementary
#CD50F2 #C6F250 #50F27C
monochromatic
#930EBA #BD17EE #CD50F2 #DD89F6 #EEC2FA

Accessibility & contrast

On white

3.49
#CD50F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#CD50F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50F2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50F2#FFFFFF#000000##000000
##CD50F21.003.496.036.03
#FFFFFF3.491.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#558DEE
Tritanopia (blue-blind)
#CC6F9B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd50f2;
/* rgb */ color: rgb(205, 80, 242);
/* oklch */ color: oklch(66.2% 0.245 317.5);
Tailwind
colors: {
  custom: {
    50: '#e08af7',
    500: '#cd50f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd50f2;
$custom-light: #e08af7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50f2",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 242
  },
  "hsl": {
    "h": 286.296,
    "s": 86.17,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66222,
    "c": 0.24532,
    "h": 317.5
  },
  "luminance": 0.25127
}

Semantic roles & 50–950 ramp

primary
#CD50F2
secondary
#BFECB2
accent
#E30336
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D17
muted
#847D85

Preview Lab

Preview with #CD50F2

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

Preview Lab → · Contrast checker → · Palette generator →

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