#B150CB#B150CB

#B150CB is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.4% C 0.198 H 318.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B150CB
RGBrgb(177, 80, 203)
HSLhsl(287, 54%, 55%)
HSVhsv(287, 61%, 80%)
CMYKcmyk(12.8%, 60.6%, 0%, 20.4%)
CIE-LABlab(51.15, 57.59, -46.87)
CIE-LCHlch(51.15, 74.26, 320.86°)
OKLaboklab(60.35% 0.1485 -0.1309)
OKLCHoklch(60.35% 0.198 318.6)
XYZxyz(31.7782, 19.3976, 58.5585)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B150CB #6ACB50
analogous
#7350CB #B150CB #CB50A7
triadic
#B150CB #CBB150 #50CBB1
tetradic
#B150CB #CB7350 #6ACB50 #50A7CB
square
#B150CB #CB7350 #6ACB50 #50A7CB
split-complementary
#B150CB #A7CB50 #50CB73
monochromatic
#69257C #9233AB #B150CB #C67FD9 #DBAEE7

Accessibility & contrast

On white

4.30
#B150CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B150CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B150CB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B150CB#FFFFFF#000000##000000
##B150CB1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3073CF
Deuteranopia (green-blind)
#577DC8
Tritanopia (blue-blind)
#B16486
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b150cb;
/* rgb */ color: rgb(177, 80, 203);
/* oklch */ color: oklch(60.4% 0.198 318.6);
Tailwind
colors: {
  custom: {
    50: '#cb87db',
    500: '#b150cb',
    950: '#000000',
  },
}
SCSS
$custom: #b150cb;
$custom-light: #cb87db;
$custom-dark: #000000;
JSON
{
  "hex": "#b150cb",
  "rgb": {
    "r": 177,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 287.317,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60351,
    "c": 0.19794,
    "h": 318.6
  },
  "luminance": 0.19396
}

Semantic roles & 50–950 ramp

primary
#B150CB
secondary
#ADD5A2
accent
#DE4A69
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B150CB

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

Preview Lab → · Contrast checker → · Palette generator →

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