#CB7BED#CB7BED

#CB7BED is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.2% C 0.178 H 315.0°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#CB7BED
RGBrgb(203, 123, 237)
HSLhsl(282, 76%, 71%)
HSVhsv(282, 48%, 93%)
CMYKcmyk(14.3%, 48.1%, 0%, 7.1%)
CIE-LABlab(64.14, 49.93, -45.25)
CIE-LCHlch(64.14, 67.38, 317.82°)
OKLaboklab(71.16% 0.1259 -0.1257)
OKLCHoklch(71.16% 0.178 315)
XYZxyz(46.9952, 32.9781, 83.9942)
Luminance0.3298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BED #9DED7B
analogous
#927BED #CB7BED #ED7BD6
triadic
#CB7BED #EDCB7B #7BEDCB
tetradic
#CB7BED #ED927B #9DED7B #7BD6ED
square
#CB7BED #ED927B #9DED7B #7BD6ED
split-complementary
#CB7BED #D6ED7B #7BED92
monochromatic
#9B1DD1 #B645E6 #CB7BED #E0B1F4 #F4E4FB

Accessibility & contrast

On white

2.76
#CB7BED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#CB7BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BED
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BED#FFFFFF#000000##000000
##CB7BED1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F1
Deuteranopia (green-blind)
#7B9EEA
Tritanopia (blue-blind)
#C98CA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb7bed;
/* rgb */ color: rgb(203, 123, 237);
/* oklch */ color: oklch(71.2% 0.178 315.0);
Tailwind
colors: {
  custom: {
    50: '#dda3f3',
    500: '#cb7bed',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bed;
$custom-light: #dda3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bed",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 282.105,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71155,
    "c": 0.17797,
    "h": 315
  },
  "luminance": 0.32977
}

Semantic roles & 50–950 ramp

primary
#CB7BED
secondary
#DCF1D2
accent
#D80D4A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7BED

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

Preview Lab → · Contrast checker → · Palette generator →

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