#CD01FE#CD01FE

#CD01FE is a light, highly saturated purple. Relative luminance 0.202; OKLCH L 62.8% C 0.306 H 316.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CD01FE
RGBrgb(205, 1, 254)
HSLhsl(288, 99%, 50%)
HSVhsv(288, 100%, 100%)
CMYKcmyk(19.3%, 99.6%, 0%, 0.4%)
CIE-LABlab(52.02, 90.89, -74.09)
CIE-LCHlch(52.02, 117.26, 320.81°)
OKLaboklab(62.82% 0.2233 -0.2094)
OKLCHoklch(62.82% 0.306 316.8)
XYZxyz(43.0743, 20.1586, 95.3688)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD01FE #32FE01
analogous
#4E01FE #CD01FE #FE01B1
triadic
#CD01FE #FECD01 #01FECD
tetradic
#CD01FE #FE4E01 #32FE01 #01B1FE
square
#CD01FE #FE4E01 #32FE01 #01B1FE
split-complementary
#CD01FE #B1FE01 #01FE4E
monochromatic
#6B0184 #9C01C1 #CD01FE #D93EFE #E57BFE

Accessibility & contrast

On white

4.17
#CD01FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CD01FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD01FE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD01FE#FFFFFF#000000##000000
##CD01FE1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072FF
Deuteranopia (green-blind)
#0081FA
Tritanopia (blue-blind)
#CA5896
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd01fe;
/* rgb */ color: rgb(205, 1, 254);
/* oklch */ color: oklch(62.8% 0.306 316.8);
Tailwind
colors: {
  custom: {
    50: '#e273ff',
    500: '#cd01fe',
    950: '#000000',
  },
}
SCSS
$custom: #cd01fe;
$custom-light: #e273ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd01fe",
  "rgb": {
    "r": 205,
    "g": 1,
    "b": 254
  },
  "hsl": {
    "h": 288.379,
    "s": 99.216,
    "l": 50
  },
  "oklch": {
    "l": 0.62819,
    "c": 0.30616,
    "h": 316.8
  },
  "luminance": 0.20157
}

Semantic roles & 50–950 ramp

primary
#CD01FE
secondary
#8BE675
accent
#FF2952
background
#FEF7FF
surface
#FDEEFF
border
#D5C9D7
text
#170A18
muted
#857C86

Preview Lab

Preview with #CD01FE

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

Preview Lab → · Contrast checker → · Palette generator →

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