#CD3FB8#CD3FB8

#CD3FB8 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.4% C 0.219 H 334.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CD3FB8
RGBrgb(205, 63, 184)
HSLhsl(309, 59%, 53%)
HSVhsv(309, 69%, 80%)
CMYKcmyk(0%, 69.3%, 10.2%, 19.6%)
CIE-LABlab(51.83, 68.05, -34.54)
CIE-LCHlch(51.83, 76.31, 333.09°)
OKLaboklab(61.36% 0.1978 -0.0944)
OKLCHoklch(61.36% 0.219 334.5)
XYZxyz(35.6064, 19.9979, 47.3228)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3FB8 #3FCD54
analogous
#9B3FCD #CD3FB8 #CD3F71
triadic
#CD3FB8 #B8CD3F #3FB8CD
tetradic
#CD3FB8 #CD9B3F #3FCD54 #3F71CD
square
#CD3FB8 #CD9B3F #3FCD54 #3F71CD
split-complementary
#CD3FB8 #71CD3F #3FCD9B
monochromatic
#741E67 #A42B92 #CD3FB8 #DA70CA #E6A0DC

Accessibility & contrast

On white

4.20
#CD3FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CD3FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3FB8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3FB8#FFFFFF#000000##000000
##CD3FB81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBB
Deuteranopia (green-blind)
#6F83B5
Tritanopia (blue-blind)
#D74A77
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd3fb8;
/* rgb */ color: rgb(205, 63, 184);
/* oklch */ color: oklch(61.4% 0.219 334.5);
Tailwind
colors: {
  custom: {
    50: '#e080cd',
    500: '#cd3fb8',
    950: '#000000',
  },
}
SCSS
$custom: #cd3fb8;
$custom-light: #e080cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3fb8",
  "rgb": {
    "r": 205,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 308.873,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61362,
    "c": 0.21914,
    "h": 334.5
  },
  "luminance": 0.19995
}

Semantic roles & 50–950 ramp

primary
#CD3FB8
secondary
#95D39E
accent
#E25D46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD3FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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