#CB7BE4#CB7BE4

#CB7BE4 is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.7% C 0.168 H 317.8°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#CB7BE4
RGBrgb(203, 123, 228)
HSLhsl(286, 66%, 69%)
HSVhsv(286, 46%, 89%)
CMYKcmyk(11%, 46.1%, 0%, 10.6%)
CIE-LABlab(63.73, 48.10, -40.91)
CIE-LCHlch(63.73, 63.15, 319.62°)
OKLaboklab(70.71% 0.1247 -0.1132)
OKLCHoklch(70.71% 0.168 317.8)
XYZxyz(45.7132, 32.4653, 77.2422)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BE4 #94E47B
analogous
#977BE4 #CB7BE4 #E47BC9
triadic
#CB7BE4 #E4CB7B #7BE4CB
tetradic
#CB7BE4 #E4977B #94E47B #7BC9E4
square
#CB7BE4 #E4977B #94E47B #7BC9E4
split-complementary
#CB7BE4 #C9E47B #7BE497
monochromatic
#9A27BE #B748DA #CB7BE4 #DFAEEE #F3E1F9

Accessibility & contrast

On white

2.80
#CB7BE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#CB7BE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BE4
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BE4#FFFFFF#000000##000000
##CB7BE41.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6995E8
Deuteranopia (green-blind)
#7F9DE1
Tritanopia (blue-blind)
#CB89A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb7be4;
/* rgb */ color: rgb(203, 123, 228);
/* oklch */ color: oklch(70.7% 0.168 317.8);
Tailwind
colors: {
  custom: {
    50: '#dda3ed',
    500: '#cb7be4',
    950: '#000000',
  },
}
SCSS
$custom: #cb7be4;
$custom-light: #dda3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7be4",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 228
  },
  "hsl": {
    "h": 285.714,
    "s": 66.038,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70708,
    "c": 0.16842,
    "h": 317.8
  },
  "luminance": 0.32464
}

Semantic roles & 50–950 ramp

primary
#CB7BE4
secondary
#D5EDCE
accent
#CE1843
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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