#CD4BE7#CD4BE7

#CD4BE7 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 65.1% C 0.242 H 320.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#CD4BE7
RGBrgb(205, 75, 231)
HSLhsl(290, 76%, 60%)
HSVhsv(290, 68%, 91%)
CMYKcmyk(11.3%, 67.5%, 0%, 9.4%)
CIE-LABlab(55.87, 71.40, -55.01)
CIE-LCHlch(55.87, 90.13, 322.39°)
OKLaboklab(65.06% 0.1866 -0.1538)
OKLCHoklch(65.06% 0.242 320.5)
XYZxyz(42.1150, 23.7829, 77.9580)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4BE7 #65E74B
analogous
#7F4BE7 #CD4BE7 #E74BB3
triadic
#CD4BE7 #E7CD4B #4BE7CD
tetradic
#CD4BE7 #E77F4B #65E74B #4BB3E7
square
#CD4BE7 #E77F4B #65E74B #4BB3E7
split-complementary
#CD4BE7 #B3E74B #4BE77F
monochromatic
#8B16A2 #B91DD8 #CD4BE7 #DC81EE #EBB7F5

Accessibility & contrast

On white

3.65
#CD4BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#CD4BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4BE7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4BE7#FFFFFF#000000##000000
##CD4BE71.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B7DEC
Deuteranopia (green-blind)
#5A8BE3
Tritanopia (blue-blind)
#CE6794
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd4be7;
/* rgb */ color: rgb(205, 75, 231);
/* oklch */ color: oklch(65.1% 0.242 320.5);
Tailwind
colors: {
  custom: {
    50: '#e087ef',
    500: '#cd4be7',
    950: '#000000',
  },
}
SCSS
$custom: #cd4be7;
$custom-light: #e087ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4be7",
  "rgb": {
    "r": 205,
    "g": 75,
    "b": 231
  },
  "hsl": {
    "h": 290,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.65064,
    "c": 0.24181,
    "h": 320.5
  },
  "luminance": 0.23781
}

Semantic roles & 50–950 ramp

primary
#CD4BE7
secondary
#B3E5A9
accent
#F33554
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD4BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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