#CD3FF2#CD3FF2

#CD3FF2 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.7% C 0.264 H 318.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#CD3FF2
RGBrgb(205, 63, 242)
HSLhsl(288, 87%, 60%)
HSVhsv(288, 74%, 95%)
CMYKcmyk(15.3%, 74%, 0%, 5.1%)
CIE-LABlab(55.02, 77.66, -62.54)
CIE-LCHlch(55.02, 99.71, 321.16°)
OKLaboklab(64.66% 0.1971 -0.1758)
OKLCHoklch(64.66% 0.264 318.3)
XYZxyz(42.9791, 22.9469, 86.1525)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3FF2 #64F23F
analogous
#743FF2 #CD3FF2 #F23FBD
triadic
#CD3FF2 #F2CD3F #3FF2CD
tetradic
#CD3FF2 #F2743F #64F23F #3FBDF2
square
#CD3FF2 #F2743F #64F23F #3FBDF2
split-complementary
#CD3FF2 #BDF23F #3FF274
monochromatic
#8A0CAB #B80FE4 #CD3FF2 #DC78F6 #EBB2FA

Accessibility & contrast

On white

3.76
#CD3FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#CD3FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3FF2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3FF2#FFFFFF#000000##000000
##CD3FF21.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#4888EE
Tritanopia (blue-blind)
#CC6596
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd3ff2;
/* rgb */ color: rgb(205, 63, 242);
/* oklch */ color: oklch(64.7% 0.264 318.3);
Tailwind
colors: {
  custom: {
    50: '#e182f7',
    500: '#cd3ff2',
    950: '#000000',
  },
}
SCSS
$custom: #cd3ff2;
$custom-light: #e182f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3ff2",
  "rgb": {
    "r": 205,
    "g": 63,
    "b": 242
  },
  "hsl": {
    "h": 287.598,
    "s": 87.317,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64665,
    "c": 0.26408,
    "h": 318.3
  },
  "luminance": 0.22945
}

Semantic roles & 50–950 ramp

primary
#CD3FF2
secondary
#B2E9A4
accent
#FD2A56
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CD3FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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