#CB7ABE#CB7ABE

#CB7ABE is a light, vivid purple. Relative luminance 0.303; OKLCH L 68.9% C 0.133 H 333.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#CB7ABE
RGBrgb(203, 122, 190)
HSLhsl(310, 44%, 64%)
HSVhsv(310, 40%, 80%)
CMYKcmyk(0%, 39.9%, 6.4%, 20.4%)
CIE-LABlab(61.94, 41.47, -22.35)
CIE-LCHlch(61.94, 47.11, 331.67°)
OKLaboklab(68.86% 0.1183 -0.0604)
OKLCHoklch(68.86% 0.133 333)
XYZxyz(40.8821, 30.3354, 52.4071)
Luminance0.3033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7ABE #7ACB87
analogous
#AF7ACB #CB7ABE #CB7A95
triadic
#CB7ABE #BECB7A #7ABECB
tetradic
#CB7ABE #CBAF7A #7ACB87 #7A95CB
square
#CB7ABE #CBAF7A #7ACB87 #7A95CB
split-complementary
#CB7ABE #95CB7A #7ACBAF
monochromatic
#923983 #BA4EA8 #CB7ABE #DCA6D4 #EDD2E9

Accessibility & contrast

On white

2.97
#CB7ABE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#CB7ABE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7ABE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7ABE#FFFFFF#000000##000000
##CB7ABE1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#798EC0
Deuteranopia (green-blind)
#8E9ABC
Tritanopia (blue-blind)
#D27E93
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb7abe;
/* rgb */ color: rgb(203, 122, 190);
/* oklch */ color: oklch(68.9% 0.133 333.0);
Tailwind
colors: {
  custom: {
    50: '#dca2d1',
    500: '#cb7abe',
    950: '#000000',
  },
}
SCSS
$custom: #cb7abe;
$custom-light: #dca2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7abe",
  "rgb": {
    "r": 203,
    "g": 122,
    "b": 190
  },
  "hsl": {
    "h": 309.63,
    "s": 43.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68856,
    "c": 0.13284,
    "h": 333
  },
  "luminance": 0.30333
}

Semantic roles & 50–950 ramp

primary
#CB7ABE
secondary
#C2DFC7
accent
#B7442F
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CB7ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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