#CD5BEC#CD5BEC

#CD5BEC is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.1% C 0.226 H 318.5°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#CD5BEC
RGBrgb(205, 91, 236)
HSLhsl(287, 79%, 64%)
HSVhsv(287, 61%, 93%)
CMYKcmyk(13.1%, 61.4%, 0%, 7.5%)
CIE-LABlab(58.53, 65.72, -53.57)
CIE-LCHlch(58.53, 84.79, 320.81°)
OKLaboklab(67.07% 0.169 -0.1497)
OKLCHoklch(67.07% 0.226 318.5)
XYZxyz(44.0562, 26.5193, 82.1387)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BEC #7AEC5B
analogous
#855BEC #CD5BEC #EC5BC3
triadic
#CD5BEC #ECCD5B #5BECCD
tetradic
#CD5BEC #EC855B #7AEC5B #5BC3EC
square
#CD5BEC #EC855B #7AEC5B #5BC3EC
split-complementary
#CD5BEC #C3EC5B #5BEC85
monochromatic
#9515B7 #BC24E6 #CD5BEC #DE92F2 #EEC9F9

Accessibility & contrast

On white

3.33
#CD5BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#CD5BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BEC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BEC#FFFFFF#000000##000000
##CD5BEC1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3185F0
Deuteranopia (green-blind)
#6291E8
Tritanopia (blue-blind)
#CD749C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5bec;
/* rgb */ color: rgb(205, 91, 236);
/* oklch */ color: oklch(67.1% 0.226 318.5);
Tailwind
colors: {
  custom: {
    50: '#e090f3',
    500: '#cd5bec',
    950: '#000000',
  },
}
SCSS
$custom: #cd5bec;
$custom-light: #e090f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5bec",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 287.172,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67069,
    "c": 0.22575,
    "h": 318.5
  },
  "luminance": 0.26517
}

Semantic roles & 50–950 ramp

primary
#CD5BEC
secondary
#C3EBB8
accent
#DC0A37
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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