#CD7BEE#CD7BEE

#CD7BEE is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.4% C 0.180 H 315.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#CD7BEE
RGBrgb(205, 123, 238)
HSLhsl(283, 77%, 71%)
HSVhsv(283, 48%, 93%)
CMYKcmyk(13.9%, 48.3%, 0%, 6.7%)
CIE-LABlab(64.42, 50.68, -45.35)
CIE-LCHlch(64.42, 68.01, 318.18°)
OKLaboklab(71.43% 0.1284 -0.126)
OKLCHoklch(71.43% 0.18 315.5)
XYZxyz(47.6900, 33.3195, 84.7915)
Luminance0.3332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BEE #9CEE7B
analogous
#937BEE #CD7BEE #EE7BD5
triadic
#CD7BEE #EECD7B #7BEECD
tetradic
#CD7BEE #EE937B #9CEE7B #7BD5EE
square
#CD7BEE #EE937B #9CEE7B #7BD5EE
split-complementary
#CD7BEE #D5EE7B #7BEE93
monochromatic
#9F1BD3 #B845E7 #CD7BEE #E2B1F5 #F5E4FC

Accessibility & contrast

On white

2.74
#CD7BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#CD7BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BEE
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BEE#FFFFFF#000000##000000
##CD7BEE1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F2
Deuteranopia (green-blind)
#7B9FEB
Tritanopia (blue-blind)
#CB8CAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7bee;
/* rgb */ color: rgb(205, 123, 238);
/* oklch */ color: oklch(71.4% 0.180 315.5);
Tailwind
colors: {
  custom: {
    50: '#dea3f4',
    500: '#cd7bee',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bee;
$custom-light: #dea3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bee",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 282.783,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71425,
    "c": 0.17991,
    "h": 315.5
  },
  "luminance": 0.33318
}

Semantic roles & 50–950 ramp

primary
#CD7BEE
secondary
#DCF2D3
accent
#D90C47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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