#CB7ECB#CB7ECB

#CB7ECB is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.0% C 0.138 H 326.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CB7ECB
RGBrgb(203, 126, 203)
HSLhsl(300, 43%, 65%)
HSVhsv(300, 38%, 80%)
CMYKcmyk(0%, 37.9%, 0%, 20.4%)
CIE-LABlab(63.29, 41.69, -27.63)
CIE-LCHlch(63.29, 50.01, 326.47°)
OKLaboklab(70.03% 0.1155 -0.0752)
OKLCHoklch(70.03% 0.138 326.9)
XYZxyz(42.8681, 31.9319, 60.3937)
Luminance0.3193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7ECB #7ECB7E
analogous
#A57ECB #CB7ECB #CB7EA5
triadic
#CB7ECB #CBCB7E #7ECBCB
tetradic
#CB7ECB #CBA57E #7ECB7E #7EA5CB
square
#CB7ECB #CBA57E #7ECB7E #7EA5CB
split-complementary
#CB7ECB #A5CB7E #7ECBA5
monochromatic
#933B93 #B952B9 #CB7ECB #DDAADD #EED5EE

Accessibility & contrast

On white

2.84
#CB7ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CB7ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7ECB
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7ECB#FFFFFF#000000##000000
##CB7ECB1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CE
Deuteranopia (green-blind)
#8C9DC8
Tritanopia (blue-blind)
#CF859B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb7ecb;
/* rgb */ color: rgb(203, 126, 203);
/* oklch */ color: oklch(70.0% 0.138 326.9);
Tailwind
colors: {
  custom: {
    50: '#dca5db',
    500: '#cb7ecb',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ecb;
$custom-light: #dca5db;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ecb",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70032,
    "c": 0.13788,
    "h": 326.9
  },
  "luminance": 0.3193
}

Semantic roles & 50–950 ramp

primary
#CB7ECB
secondary
#C5E0C5
accent
#B63030
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CB7ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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