#CD7BE0#CD7BE0

#CD7BE0 is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.7% C 0.165 H 319.9°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CD7BE0
RGBrgb(205, 123, 224)
HSLhsl(289, 62%, 68%)
HSVhsv(289, 45%, 88%)
CMYKcmyk(8.5%, 45.1%, 0%, 12.2%)
CIE-LABlab(63.78, 47.88, -38.59)
CIE-LCHlch(63.78, 61.49, 321.13°)
OKLaboklab(70.74% 0.1264 -0.1065)
OKLCHoklch(70.74% 0.165 319.9)
XYZxyz(45.7127, 32.5285, 74.3772)
Luminance0.3253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BE0 #8EE07B
analogous
#9A7BE0 #CD7BE0 #E07BC0
triadic
#CD7BE0 #E0CD7B #7BE0CD
tetradic
#CD7BE0 #E09A7B #8EE07B #7BC0E0
square
#CD7BE0 #E09A7B #8EE07B #7BC0E0
split-complementary
#CD7BE0 #C0E07B #7BE09A
monochromatic
#9C2BB6 #BA49D4 #CD7BE0 #E0ADEC #F3DEF7

Accessibility & contrast

On white

2.80
#CD7BE0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CD7BE0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BE0
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BE0#FFFFFF#000000##000000
##CD7BE01.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C95E4
Deuteranopia (green-blind)
#829EDD
Tritanopia (blue-blind)
#CE88A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7be0;
/* rgb */ color: rgb(205, 123, 224);
/* oklch */ color: oklch(70.7% 0.165 319.9);
Tailwind
colors: {
  custom: {
    50: '#dea3ea',
    500: '#cd7be0',
    950: '#000000',
  },
}
SCSS
$custom: #cd7be0;
$custom-light: #dea3ea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7be0",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 224
  },
  "hsl": {
    "h": 288.713,
    "s": 61.963,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70739,
    "c": 0.16526,
    "h": 319.9
  },
  "luminance": 0.32527
}

Semantic roles & 50–950 ramp

primary
#CD7BE0
secondary
#D2EBCC
accent
#CA1C3D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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