#CB7ECA#CB7ECA

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

Color values

HEX#CB7ECA
RGBrgb(203, 126, 202)
HSLhsl(301, 43%, 65%)
HSVhsv(301, 38%, 80%)
CMYKcmyk(0%, 37.9%, 0.5%, 20.4%)
CIE-LABlab(63.25, 41.51, -27.12)
CIE-LCHlch(63.25, 49.58, 326.84°)
OKLaboklab(69.99% 0.1153 -0.0738)
OKLCHoklch(69.99% 0.137 327.4)
XYZxyz(42.7493, 31.8844, 59.7682)
Luminance0.3188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7ECA #7ECB7F
analogous
#A67ECB #CB7ECA #CB7EA4
triadic
#CB7ECA #CACB7E #7ECACB
tetradic
#CB7ECA #CBA67E #7ECB7F #7EA4CB
square
#CB7ECA #CBA67E #7ECB7F #7EA4CB
split-complementary
#CB7ECA #A4CB7E #7ECBA6
monochromatic
#933B92 #B952B8 #CB7ECA #DDAADC #EED5EE

Accessibility & contrast

On white

2.85
#CB7ECA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#CB7ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7ECA
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7ECA#FFFFFF#000000##000000
##CB7ECA1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CD
Deuteranopia (green-blind)
#8C9DC7
Tritanopia (blue-blind)
#D0859B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb7eca;
/* rgb */ color: rgb(203, 126, 202);
/* oklch */ color: oklch(70.0% 0.137 327.4);
Tailwind
colors: {
  custom: {
    50: '#dca5da',
    500: '#cb7eca',
    950: '#000000',
  },
}
SCSS
$custom: #cb7eca;
$custom-light: #dca5da;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7eca",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 300.779,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69989,
    "c": 0.1369,
    "h": 327.4
  },
  "luminance": 0.31882
}

Semantic roles & 50–950 ramp

primary
#CB7ECA
secondary
#C5E0C5
accent
#B63230
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CB7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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