#CB7BEC#CB7BEC

#CB7BEC is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.1% C 0.177 H 315.3°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CB7BEC
RGBrgb(203, 123, 236)
HSLhsl(282, 75%, 70%)
HSVhsv(282, 48%, 93%)
CMYKcmyk(14%, 47.9%, 0%, 7.5%)
CIE-LABlab(64.10, 49.72, -44.77)
CIE-LCHlch(64.10, 66.91, 318.00°)
OKLaboklab(71.1% 0.1258 -0.1244)
OKLCHoklch(71.1% 0.177 315.3)
XYZxyz(46.8495, 32.9199, 83.2269)
Luminance0.3292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BEC #9CEC7B
analogous
#927BEC #CB7BEC #EC7BD4
triadic
#CB7BEC #ECCB7B #7BECCB
tetradic
#CB7BEC #EC927B #9CEC7B #7BD4EC
square
#CB7BEC #EC927B #9CEC7B #7BD4EC
split-complementary
#CB7BEC #D4EC7B #7BEC92
monochromatic
#9B1ECF #B646E4 #CB7BEC #E0B0F4 #F4E4FB

Accessibility & contrast

On white

2.77
#CB7BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#CB7BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BEC
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BEC#FFFFFF#000000##000000
##CB7BEC1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F0
Deuteranopia (green-blind)
#7B9EE9
Tritanopia (blue-blind)
#C98CA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb7bec;
/* rgb */ color: rgb(203, 123, 236);
/* oklch */ color: oklch(71.1% 0.177 315.3);
Tailwind
colors: {
  custom: {
    50: '#dda3f2',
    500: '#cb7bec',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bec;
$custom-light: #dda3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bec",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 282.478,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71105,
    "c": 0.17691,
    "h": 315.3
  },
  "luminance": 0.32919
}

Semantic roles & 50–950 ramp

primary
#CB7BEC
secondary
#DBF1D2
accent
#D70F49
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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