#CD4BE2#CD4BE2

#CD4BE2 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.8% C 0.238 H 321.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#CD4BE2
RGBrgb(205, 75, 226)
HSLhsl(292, 72%, 59%)
HSVhsv(292, 67%, 89%)
CMYKcmyk(9.3%, 66.8%, 0%, 11.4%)
CIE-LABlab(55.59, 70.50, -52.64)
CIE-LCHlch(55.59, 87.99, 323.25°)
OKLaboklab(64.77% 0.1867 -0.1469)
OKLCHoklch(64.77% 0.238 321.8)
XYZxyz(41.4189, 23.5045, 74.2919)
Luminance0.2350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4BE2 #60E24B
analogous
#824BE2 #CD4BE2 #E24BAB
triadic
#CD4BE2 #E2CD4B #4BE2CD
tetradic
#CD4BE2 #E2824B #60E24B #4BABE2
square
#CD4BE2 #E2824B #60E24B #4BABE2
split-complementary
#CD4BE2 #ABE24B #4BE282
monochromatic
#88199A #B621CF #CD4BE2 #DC80EA #EAB4F3

Accessibility & contrast

On white

3.68
#CD4BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#CD4BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4BE2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4BE2#FFFFFF#000000##000000
##CD4BE21.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7CE6
Deuteranopia (green-blind)
#5E8ADE
Tritanopia (blue-blind)
#CF6591
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd4be2;
/* rgb */ color: rgb(205, 75, 226);
/* oklch */ color: oklch(64.8% 0.238 321.8);
Tailwind
colors: {
  custom: {
    50: '#e087ec',
    500: '#cd4be2',
    950: '#000000',
  },
}
SCSS
$custom: #cd4be2;
$custom-light: #e087ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4be2",
  "rgb": {
    "r": 205,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 291.656,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64771,
    "c": 0.23759,
    "h": 321.8
  },
  "luminance": 0.23502
}

Semantic roles & 50–950 ramp

primary
#CD4BE2
secondary
#AFE2A7
accent
#EF3952
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD4BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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