#CB7EDD#CB7EDD

#CB7EDD is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.8% C 0.156 H 319.8°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#CB7EDD
RGBrgb(203, 126, 221)
HSLhsl(289, 58%, 68%)
HSVhsv(289, 43%, 87%)
CMYKcmyk(8.1%, 43%, 0%, 13.3%)
CIE-LABlab(64.03, 45.14, -36.54)
CIE-LCHlch(64.03, 58.07, 321.01°)
OKLaboklab(70.84% 0.1193 -0.1007)
OKLCHoklch(70.84% 0.156 319.8)
XYZxyz(45.1390, 32.8402, 72.3536)
Luminance0.3284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EDD #90DD7E
analogous
#9C7EDD #CB7EDD #DD7EBF
triadic
#CB7EDD #DDCB7E #7EDDCB
tetradic
#CB7EDD #DD9C7E #90DD7E #7EBFDD
square
#CB7EDD #DD9C7E #90DD7E #7EBFDD
split-complementary
#CB7EDD #BFDD7E #7EDD9C
monochromatic
#992FB2 #B74ED0 #CB7EDD #DFAEEA #F2DFF7

Accessibility & contrast

On white

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

On black

7.57
#CB7EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EDD
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EDD#FFFFFF#000000##000000
##CB7EDD1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E0
Deuteranopia (green-blind)
#859EDA
Tritanopia (blue-blind)
#CC8AA3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb7edd;
/* rgb */ color: rgb(203, 126, 221);
/* oklch */ color: oklch(70.8% 0.156 319.8);
Tailwind
colors: {
  custom: {
    50: '#dca5e8',
    500: '#cb7edd',
    950: '#000000',
  },
}
SCSS
$custom: #cb7edd;
$custom-light: #dca5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7edd",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 221
  },
  "hsl": {
    "h": 288.632,
    "s": 58.282,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70835,
    "c": 0.15608,
    "h": 319.8
  },
  "luminance": 0.32839
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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