#B150CA#B150CA

#B150CA is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.3% C 0.197 H 318.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B150CA
RGBrgb(177, 80, 202)
HSLhsl(288, 54%, 55%)
HSVhsv(288, 60%, 79%)
CMYKcmyk(12.4%, 60.4%, 0%, 20.8%)
CIE-LABlab(51.09, 57.40, -46.38)
CIE-LCHlch(51.09, 73.80, 321.06°)
OKLaboklab(60.29% 0.1485 -0.1294)
OKLCHoklch(60.29% 0.197 318.9)
XYZxyz(31.6594, 19.3500, 57.9329)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B150CA #69CA50
analogous
#7450CA #B150CA #CA50A6
triadic
#B150CA #CAB150 #50CAB1
tetradic
#B150CA #CA7450 #69CA50 #50A6CA
square
#B150CA #CA7450 #69CA50 #50A6CA
split-complementary
#B150CA #A6CA50 #50CA74
monochromatic
#69257A #9133A9 #B150CA #C67FD8 #DBAEE6

Accessibility & contrast

On white

4.31
#B150CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B150CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B150CA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B150CA#FFFFFF#000000##000000
##B150CA1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3173CE
Deuteranopia (green-blind)
#577DC7
Tritanopia (blue-blind)
#B16486
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b150ca;
/* rgb */ color: rgb(177, 80, 202);
/* oklch */ color: oklch(60.3% 0.197 318.9);
Tailwind
colors: {
  custom: {
    50: '#cb87db',
    500: '#b150ca',
    950: '#000000',
  },
}
SCSS
$custom: #b150ca;
$custom-light: #cb87db;
$custom-dark: #000000;
JSON
{
  "hex": "#b150ca",
  "rgb": {
    "r": 177,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 287.705,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60293,
    "c": 0.19698,
    "h": 318.9
  },
  "luminance": 0.19349
}

Semantic roles & 50–950 ramp

primary
#B150CA
secondary
#ACD4A1
accent
#DD4B69
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B150CA

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

Preview Lab → · Contrast checker → · Palette generator →

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