#CD50F3#CD50F3

#CD50F3 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.3% C 0.246 H 317.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#CD50F3
RGBrgb(205, 80, 243)
HSLhsl(286, 87%, 63%)
HSVhsv(286, 67%, 95%)
CMYKcmyk(15.6%, 67.1%, 0%, 4.7%)
CIE-LABlab(57.26, 71.66, -59.50)
CIE-LCHlch(57.26, 93.14, 320.30°)
OKLaboklab(66.28% 0.1809 -0.167)
OKLCHoklch(66.28% 0.246 317.3)
XYZxyz(44.2208, 25.1893, 87.3093)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50F3 #76F350
analogous
#7B50F3 #CD50F3 #F350C8
triadic
#CD50F3 #F3CD50 #50F3CD
tetradic
#CD50F3 #F37B50 #76F350 #50C8F3
square
#CD50F3 #F37B50 #76F350 #50C8F3
split-complementary
#CD50F3 #C8F350 #50F37B
monochromatic
#930DBC #BD17EF #CD50F3 #DD89F7 #EEC3FB

Accessibility & contrast

On white

3.48
#CD50F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#CD50F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50F3
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50F3#FFFFFF#000000##000000
##CD50F31.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F8
Deuteranopia (green-blind)
#548DEF
Tritanopia (blue-blind)
#CB6F9C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd50f3;
/* rgb */ color: rgb(205, 80, 243);
/* oklch */ color: oklch(66.3% 0.246 317.3);
Tailwind
colors: {
  custom: {
    50: '#e08af8',
    500: '#cd50f3',
    950: '#000000',
  },
}
SCSS
$custom: #cd50f3;
$custom-light: #e08af8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50f3",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 243
  },
  "hsl": {
    "h": 286.012,
    "s": 87.166,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66283,
    "c": 0.24619,
    "h": 317.3
  },
  "luminance": 0.25188
}

Semantic roles & 50–950 ramp

primary
#CD50F3
secondary
#C0ECB2
accent
#E40236
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D17
muted
#847D85

Preview Lab

Preview with #CD50F3

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

Preview Lab → · Contrast checker → · Palette generator →

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