#CB7DED#CB7DED

#CB7DED is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.5% C 0.175 H 314.8°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#CB7DED
RGBrgb(203, 125, 237)
HSLhsl(282, 76%, 71%)
HSVhsv(282, 47%, 93%)
CMYKcmyk(14.3%, 47.3%, 0%, 7.1%)
CIE-LABlab(64.55, 48.89, -44.61)
CIE-LCHlch(64.55, 66.18, 317.62°)
OKLaboklab(71.46% 0.1232 -0.1239)
OKLCHoklch(71.46% 0.175 314.8)
XYZxyz(47.2459, 33.4794, 84.0777)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DED #9FED7D
analogous
#937DED #CB7DED #ED7DD7
triadic
#CB7DED #EDCB7D #7DEDCB
tetradic
#CB7DED #ED937D #9FED7D #7DD7ED
square
#CB7DED #ED937D #9FED7D #7DD7ED
split-complementary
#CB7DED #D7ED7D #7DED93
monochromatic
#9B1DD2 #B547E6 #CB7DED #E1B3F4 #F4E4FB

Accessibility & contrast

On white

2.73
#CB7DED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#CB7DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DED
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DED#FFFFFF#000000##000000
##CB7DED1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb7ded;
/* rgb */ color: rgb(203, 125, 237);
/* oklch */ color: oklch(71.5% 0.175 314.8);
Tailwind
colors: {
  custom: {
    50: '#dda5f3',
    500: '#cb7ded',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ded;
$custom-light: #dda5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ded",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 281.786,
    "s": 75.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71456,
    "c": 0.17475,
    "h": 314.8
  },
  "luminance": 0.33478
}

Semantic roles & 50–950 ramp

primary
#CB7DED
secondary
#DDF2D4
accent
#D80E4B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7DED

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

Preview Lab → · Contrast checker → · Palette generator →

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