#CB7BE2#CB7BE2

#CB7BE2 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.6% C 0.166 H 318.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#CB7BE2
RGBrgb(203, 123, 226)
HSLhsl(287, 64%, 68%)
HSVhsv(287, 46%, 89%)
CMYKcmyk(10.2%, 45.6%, 0%, 11.4%)
CIE-LABlab(63.64, 47.70, -39.94)
CIE-LCHlch(63.64, 62.22, 320.06°)
OKLaboklab(70.61% 0.1244 -0.1104)
OKLCHoklch(70.61% 0.166 318.4)
XYZxyz(45.4372, 32.3549, 75.7884)
Luminance0.3235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BE2 #92E27B
analogous
#977BE2 #CB7BE2 #E27BC5
triadic
#CB7BE2 #E2CB7B #7BE2CB
tetradic
#CB7BE2 #E2977B #92E27B #7BC5E2
square
#CB7BE2 #E2977B #92E27B #7BC5E2
split-complementary
#CB7BE2 #C5E27B #7BE297
monochromatic
#9929BA #B749D7 #CB7BE2 #DFADED #F3DFF8

Accessibility & contrast

On white

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

On black

7.47
#CB7BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BE2
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BE2#FFFFFF#000000##000000
##CB7BE21.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A95E6
Deuteranopia (green-blind)
#809DDF
Tritanopia (blue-blind)
#CB89A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb7be2;
/* rgb */ color: rgb(203, 123, 226);
/* oklch */ color: oklch(70.6% 0.166 318.4);
Tailwind
colors: {
  custom: {
    50: '#dda3eb',
    500: '#cb7be2',
    950: '#000000',
  },
}
SCSS
$custom: #cb7be2;
$custom-light: #dda3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7be2",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 226
  },
  "hsl": {
    "h": 286.602,
    "s": 63.975,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70611,
    "c": 0.16632,
    "h": 318.4
  },
  "luminance": 0.32353
}

Semantic roles & 50–950 ramp

primary
#CB7BE2
secondary
#D4ECCD
accent
#CC1A41
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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