#CB7DDE#CB7DDE

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

Color values

HEX#CB7DDE
RGBrgb(203, 125, 222)
HSLhsl(288, 60%, 68%)
HSVhsv(288, 44%, 87%)
CMYKcmyk(8.6%, 43.7%, 0%, 12.9%)
CIE-LABlab(63.87, 45.86, -37.35)
CIE-LCHlch(63.87, 59.15, 320.84°)
OKLaboklab(70.73% 0.1209 -0.103)
OKLCHoklch(70.73% 0.159 319.6)
XYZxyz(45.1453, 32.6392, 73.0150)
Luminance0.3264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DDE #90DE7D
analogous
#9A7DDE #CB7DDE #DE7DC1
triadic
#CB7DDE #DECB7D #7DDECB
tetradic
#CB7DDE #DE9A7D #90DE7D #7DC1DE
square
#CB7DDE #DE9A7D #90DE7D #7DC1DE
split-complementary
#CB7DDE #C1DE7D #7DDE9A
monochromatic
#992DB3 #B74CD2 #CB7DDE #DFAEEA #F2DFF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB7DDE#FFFFFF#000000##000000
##CB7DDE1.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)
#6E95E1
Deuteranopia (green-blind)
#849EDB
Tritanopia (blue-blind)
#CC89A3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb7dde;
/* rgb */ color: rgb(203, 125, 222);
/* oklch */ color: oklch(70.7% 0.159 319.6);
Tailwind
colors: {
  custom: {
    50: '#dca4e8',
    500: '#cb7dde',
    950: '#000000',
  },
}
SCSS
$custom: #cb7dde;
$custom-light: #dca4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7dde",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 222
  },
  "hsl": {
    "h": 288.247,
    "s": 59.509,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70727,
    "c": 0.1588,
    "h": 319.6
  },
  "luminance": 0.32638
}

Semantic roles & 50–950 ramp

primary
#CB7DDE
secondary
#D2EACD
accent
#C71E3F
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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