#CB7EDE#CB7EDE

#CB7EDE is a light, vivid purple. Relative luminance 0.329; OKLCH L 70.9% C 0.157 H 319.5°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CB7EDE
RGBrgb(203, 126, 222)
HSLhsl(288, 59%, 68%)
HSVhsv(288, 43%, 87%)
CMYKcmyk(8.6%, 43.2%, 0%, 12.9%)
CIE-LABlab(64.07, 45.33, -37.03)
CIE-LCHlch(64.07, 58.54, 320.76°)
OKLaboklab(70.88% 0.1195 -0.1021)
OKLCHoklch(70.88% 0.157 319.5)
XYZxyz(45.2726, 32.8937, 73.0574)
Luminance0.3289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EDE #91DE7E
analogous
#9B7EDE #CB7EDE #DE7EC1
triadic
#CB7EDE #DECB7E #7EDECB
tetradic
#CB7EDE #DE9B7E #91DE7E #7EC1DE
square
#CB7EDE #DE9B7E #91DE7E #7EC1DE
split-complementary
#CB7EDE #C1DE7E #7EDE9B
monochromatic
#992EB4 #B74DD2 #CB7EDE #DFAFEA #F2DFF7

Accessibility & contrast

On white

2.77
#CB7EDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#CB7EDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EDE
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EDE#FFFFFF#000000##000000
##CB7EDE1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E1
Deuteranopia (green-blind)
#849EDB
Tritanopia (blue-blind)
#CC8AA4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb7ede;
/* rgb */ color: rgb(203, 126, 222);
/* oklch */ color: oklch(70.9% 0.157 319.5);
Tailwind
colors: {
  custom: {
    50: '#dca5e8',
    500: '#cb7ede',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ede;
$custom-light: #dca5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ede",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 222
  },
  "hsl": {
    "h": 288.125,
    "s": 59.259,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70881,
    "c": 0.15712,
    "h": 319.5
  },
  "luminance": 0.32892
}

Semantic roles & 50–950 ramp

primary
#CB7EDE
secondary
#D3EACD
accent
#C71F40
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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