#CB7EDA#CB7EDA

#CB7EDA is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.7% C 0.153 H 320.9°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#CB7EDA
RGBrgb(203, 126, 218)
HSLhsl(290, 55%, 67%)
HSVhsv(290, 42%, 85%)
CMYKcmyk(6.9%, 42.2%, 0%, 14.5%)
CIE-LABlab(63.90, 44.55, -35.07)
CIE-LCHlch(63.90, 56.70, 321.79°)
OKLaboklab(70.7% 0.1187 -0.0964)
OKLCHoklch(70.7% 0.153 320.9)
XYZxyz(44.7428, 32.6818, 70.2674)
Luminance0.3268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EDA #8DDA7E
analogous
#9D7EDA #CB7EDA #DA7EBB
triadic
#CB7EDA #DACB7E #7EDACB
tetradic
#CB7EDA #DA9D7E #8DDA7E #7EBBDA
square
#CB7EDA #DA9D7E #8DDA7E #7EBBDA
split-complementary
#CB7EDA #BBDA7E #7EDA9D
monochromatic
#9831AC #B84ECC #CB7EDA #DEAEE8 #F1DDF5

Accessibility & contrast

On white

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

On black

7.54
#CB7EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EDA
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EDA#FFFFFF#000000##000000
##CB7EDA1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7295DD
Deuteranopia (green-blind)
#869ED7
Tritanopia (blue-blind)
#CD89A2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb7eda;
/* rgb */ color: rgb(203, 126, 218);
/* oklch */ color: oklch(70.7% 0.153 320.9);
Tailwind
colors: {
  custom: {
    50: '#dca5e5',
    500: '#cb7eda',
    950: '#000000',
  },
}
SCSS
$custom: #cb7eda;
$custom-light: #dca5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7eda",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 290.217,
    "s": 55.422,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70696,
    "c": 0.15295,
    "h": 320.9
  },
  "luminance": 0.3268
}

Semantic roles & 50–950 ramp

primary
#CB7EDA
secondary
#D0E8CC
accent
#C3233D
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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