#CD5ECB#CD5ECB

#CD5ECB is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.7% C 0.192 H 328.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#CD5ECB
RGBrgb(205, 94, 203)
HSLhsl(301, 53%, 59%)
HSVhsv(301, 54%, 80%)
CMYKcmyk(0%, 54.1%, 1%, 19.6%)
CIE-LABlab(57.37, 58.33, -36.81)
CIE-LCHlch(57.37, 68.98, 327.75°)
OKLaboklab(65.68% 0.163 -0.1011)
OKLCHoklch(65.68% 0.192 328.2)
XYZxyz(39.9585, 25.2988, 59.2668)
Luminance0.2530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5ECB #5ECD60
analogous
#975ECD #CD5ECB #CD5E93
triadic
#CD5ECB #CBCD5E #5ECBCD
tetradic
#CD5ECB #CD975E #5ECD60 #5E93CD
square
#CD5ECB #CD975E #5ECD60 #5E93CD
split-complementary
#CD5ECB #93CD5E #5ECD97
monochromatic
#872A85 #B538B3 #CD5ECB #DC8DDA #EABBE9

Accessibility & contrast

On white

3.47
#CD5ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#CD5ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5ECB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5ECB#FFFFFF#000000##000000
##CD5ECB1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CE
Deuteranopia (green-blind)
#778FC8
Tritanopia (blue-blind)
#D36A8C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd5ecb;
/* rgb */ color: rgb(205, 94, 203);
/* oklch */ color: oklch(65.7% 0.192 328.2);
Tailwind
colors: {
  custom: {
    50: '#df91db',
    500: '#cd5ecb',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ecb;
$custom-light: #df91db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ecb",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 301.081,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65683,
    "c": 0.19181,
    "h": 328.2
  },
  "luminance": 0.25296
}

Semantic roles & 50–950 ramp

primary
#CD5ECB
secondary
#ADD9AE
accent
#DC4E4C
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CD5ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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