#CD7BED#CD7BED

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

Color values

HEX#CD7BED
RGBrgb(205, 123, 237)
HSLhsl(283, 76%, 71%)
HSVhsv(283, 48%, 93%)
CMYKcmyk(13.5%, 48.1%, 0%, 7.1%)
CIE-LABlab(64.37, 50.48, -44.87)
CIE-LCHlch(64.37, 67.54, 318.36°)
OKLaboklab(71.38% 0.1283 -0.1246)
OKLCHoklch(71.38% 0.179 315.8)
XYZxyz(47.5435, 33.2609, 84.0199)
Luminance0.3326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BED #9BED7B
analogous
#947BED #CD7BED #ED7BD4
triadic
#CD7BED #EDCD7B #7BEDCD
tetradic
#CD7BED #ED947B #9BED7B #7BD4ED
square
#CD7BED #ED947B #9BED7B #7BD4ED
split-complementary
#CD7BED #D4ED7B #7BED94
monochromatic
#9E1DD1 #B945E6 #CD7BED #E1B1F4 #F5E4FB

Accessibility & contrast

On white

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

On black

7.65
#CD7BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BED
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BED#FFFFFF#000000##000000
##CD7BED1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F1
Deuteranopia (green-blind)
#7C9FEA
Tritanopia (blue-blind)
#CB8CA9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7bed;
/* rgb */ color: rgb(205, 123, 237);
/* oklch */ color: oklch(71.4% 0.179 315.8);
Tailwind
colors: {
  custom: {
    50: '#dea3f3',
    500: '#cd7bed',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bed;
$custom-light: #dea3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bed",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 283.158,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71375,
    "c": 0.17885,
    "h": 315.8
  },
  "luminance": 0.33259
}

Semantic roles & 50–950 ramp

primary
#CD7BED
secondary
#DBF1D2
accent
#D80D46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7BED

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

Preview Lab → · Contrast checker → · Palette generator →

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