#CD7BE2#CD7BE2

#CD7BE2 is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.8% C 0.167 H 319.2°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#CD7BE2
RGBrgb(205, 123, 226)
HSLhsl(288, 64%, 68%)
HSVhsv(288, 46%, 89%)
CMYKcmyk(9.3%, 45.6%, 0%, 11.4%)
CIE-LABlab(63.87, 48.27, -39.57)
CIE-LCHlch(63.87, 62.41, 320.66°)
OKLaboklab(70.83% 0.1267 -0.1093)
OKLCHoklch(70.83% 0.167 319.2)
XYZxyz(45.9855, 32.6376, 75.8141)
Luminance0.3264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BE2 #90E27B
analogous
#997BE2 #CD7BE2 #E27BC3
triadic
#CD7BE2 #E2CD7B #7BE2CD
tetradic
#CD7BE2 #E2997B #90E27B #7BC3E2
square
#CD7BE2 #E2997B #90E27B #7BC3E2
split-complementary
#CD7BE2 #C3E27B #7BE299
monochromatic
#9C29BA #BA49D7 #CD7BE2 #E0ADED #F3DFF8

Accessibility & contrast

On white

2.79
#CD7BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#CD7BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BE2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BE2#FFFFFF#000000##000000
##CD7BE21.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B95E6
Deuteranopia (green-blind)
#819EDF
Tritanopia (blue-blind)
#CE89A4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7be2;
/* rgb */ color: rgb(205, 123, 226);
/* oklch */ color: oklch(70.8% 0.167 319.2);
Tailwind
colors: {
  custom: {
    50: '#dea3eb',
    500: '#cd7be2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7be2;
$custom-light: #dea3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7be2",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 226
  },
  "hsl": {
    "h": 287.767,
    "s": 63.975,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70834,
    "c": 0.16733,
    "h": 319.2
  },
  "luminance": 0.32636
}

Semantic roles & 50–950 ramp

primary
#CD7BE2
secondary
#D3ECCD
accent
#CC1A3E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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