#CB7BE3#CB7BE3

#CB7BE3 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.7% C 0.167 H 318.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#CB7BE3
RGBrgb(203, 123, 227)
HSLhsl(286, 65%, 69%)
HSVhsv(286, 46%, 89%)
CMYKcmyk(10.6%, 45.8%, 0%, 11%)
CIE-LABlab(63.68, 47.90, -40.43)
CIE-LCHlch(63.68, 62.68, 319.83°)
OKLaboklab(70.66% 0.1245 -0.1118)
OKLCHoklch(70.66% 0.167 318.1)
XYZxyz(45.5748, 32.4100, 76.5132)
Luminance0.3241 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BE3 #93E37B
analogous
#977BE3 #CB7BE3 #E37BC7
triadic
#CB7BE3 #E3CB7B #7BE3CB
tetradic
#CB7BE3 #E3977B #93E37B #7BC7E3
square
#CB7BE3 #E3977B #93E37B #7BC7E3
split-complementary
#CB7BE3 #C7E37B #7BE397
monochromatic
#9A28BC #B749D8 #CB7BE3 #DFADEE #F3E0F8

Accessibility & contrast

On white

2.81
#CB7BE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#CB7BE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BE3
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BE3#FFFFFF#000000##000000
##CB7BE31.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6995E7
Deuteranopia (green-blind)
#809DE0
Tritanopia (blue-blind)
#CB89A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb7be3;
/* rgb */ color: rgb(203, 123, 227);
/* oklch */ color: oklch(70.7% 0.167 318.1);
Tailwind
colors: {
  custom: {
    50: '#dda3ec',
    500: '#cb7be3',
    950: '#000000',
  },
}
SCSS
$custom: #cb7be3;
$custom-light: #dda3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7be3",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 227
  },
  "hsl": {
    "h": 286.154,
    "s": 65,
    "l": 68.627
  },
  "oklch": {
    "l": 0.7066,
    "c": 0.16737,
    "h": 318.1
  },
  "luminance": 0.32408
}

Semantic roles & 50–950 ramp

primary
#CB7BE3
secondary
#D5ECCD
accent
#CD1942
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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