#CD7BE3#CD7BE3

#CD7BE3 is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.9% C 0.168 H 318.9°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#CD7BE3
RGBrgb(205, 123, 227)
HSLhsl(287, 65%, 69%)
HSVhsv(287, 46%, 89%)
CMYKcmyk(9.7%, 45.8%, 0%, 11%)
CIE-LABlab(63.91, 48.47, -40.05)
CIE-LCHlch(63.91, 62.88, 320.43°)
OKLaboklab(70.88% 0.1269 -0.1107)
OKLCHoklch(70.88% 0.168 318.9)
XYZxyz(46.1231, 32.6927, 76.5389)
Luminance0.3269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BE3 #91E37B
analogous
#997BE3 #CD7BE3 #E37BC5
triadic
#CD7BE3 #E3CD7B #7BE3CD
tetradic
#CD7BE3 #E3997B #91E37B #7BC5E3
square
#CD7BE3 #E3997B #91E37B #7BC5E3
split-complementary
#CD7BE3 #C5E37B #7BE399
monochromatic
#9C28BC #BA49D8 #CD7BE3 #E0ADEE #F3E0F8

Accessibility & contrast

On white

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

On black

7.54
#CD7BE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BE3
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BE3#FFFFFF#000000##000000
##CD7BE31.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd7be3;
/* rgb */ color: rgb(205, 123, 227);
/* oklch */ color: oklch(70.9% 0.168 318.9);
Tailwind
colors: {
  custom: {
    50: '#dea3ec',
    500: '#cd7be3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7be3;
$custom-light: #dea3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7be3",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 227
  },
  "hsl": {
    "h": 287.308,
    "s": 65,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70882,
    "c": 0.16837,
    "h": 318.9
  },
  "luminance": 0.32691
}

Semantic roles & 50–950 ramp

primary
#CD7BE3
secondary
#D4ECCD
accent
#CD193F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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