#CD7BEA#CD7BEA

#CD7BEA is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.2% C 0.176 H 316.7°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#CD7BEA
RGBrgb(205, 123, 234)
HSLhsl(284, 73%, 70%)
HSVhsv(284, 47%, 92%)
CMYKcmyk(12.4%, 47.4%, 0%, 8.2%)
CIE-LABlab(64.23, 49.87, -43.43)
CIE-LCHlch(64.23, 66.13, 318.95°)
OKLaboklab(71.23% 0.1279 -0.1205)
OKLCHoklch(71.23% 0.176 316.7)
XYZxyz(47.1089, 33.0870, 81.7308)
Luminance0.3309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BEA #98EA7B
analogous
#957BEA #CD7BEA #EA7BD0
triadic
#CD7BEA #EACD7B #7BEACD
tetradic
#CD7BEA #EA957B #98EA7B #7BD0EA
square
#CD7BEA #EA957B #98EA7B #7BD0EA
split-complementary
#CD7BEA #D0EA7B #7BEA95
monochromatic
#9E20CA #B946E2 #CD7BEA #E1B0F2 #F5E5FB

Accessibility & contrast

On white

2.76
#CD7BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#CD7BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BEA
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BEA#FFFFFF#000000##000000
##CD7BEA1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697EE
Deuteranopia (green-blind)
#7E9EE7
Tritanopia (blue-blind)
#CC8BA8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7bea;
/* rgb */ color: rgb(205, 123, 234);
/* oklch */ color: oklch(71.2% 0.176 316.7);
Tailwind
colors: {
  custom: {
    50: '#dea3f1',
    500: '#cd7bea',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bea;
$custom-light: #dea3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bea",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 284.324,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.71225,
    "c": 0.17569,
    "h": 316.7
  },
  "luminance": 0.33086
}

Semantic roles & 50–950 ramp

primary
#CD7BEA
secondary
#D9F0D1
accent
#D51144
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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