#CB7AEB#CB7AEB

#CB7AEB is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.9% C 0.177 H 315.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#CB7AEB
RGBrgb(203, 122, 235)
HSLhsl(283, 74%, 70%)
HSVhsv(283, 48%, 92%)
CMYKcmyk(13.6%, 48.1%, 0%, 7.8%)
CIE-LABlab(63.85, 50.04, -44.61)
CIE-LCHlch(63.85, 67.03, 318.28°)
OKLaboklab(70.91% 0.127 -0.1239)
OKLCHoklch(70.91% 0.177 315.7)
XYZxyz(46.5812, 32.6151, 82.4227)
Luminance0.3261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7AEB #9AEB7A
analogous
#937AEB #CB7AEB #EB7AD2
triadic
#CB7AEB #EBCB7A #7AEBCB
tetradic
#CB7AEB #EB937A #9AEB7A #7AD2EB
square
#CB7AEB #EB937A #9AEB7A #7AD2EB
split-complementary
#CB7AEB #D2EB7A #7AEB93
monochromatic
#9B1FCC #B645E3 #CB7AEB #E0AFF3 #F5E4FB

Accessibility & contrast

On white

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

On black

7.52
#CB7AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7AEB
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7AEB#FFFFFF#000000##000000
##CB7AEB1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396EF
Deuteranopia (green-blind)
#7B9DE8
Tritanopia (blue-blind)
#C98BA8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb7aeb;
/* rgb */ color: rgb(203, 122, 235);
/* oklch */ color: oklch(70.9% 0.177 315.7);
Tailwind
colors: {
  custom: {
    50: '#dda3f2',
    500: '#cb7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #cb7aeb;
$custom-light: #dda3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7aeb",
  "rgb": {
    "r": 203,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 283.009,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.70905,
    "c": 0.17745,
    "h": 315.7
  },
  "luminance": 0.32614
}

Semantic roles & 50–950 ramp

primary
#CB7AEB
secondary
#DAF0D1
accent
#D61048
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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