#B150D5#B150D5

#B150D5 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 60.9% C 0.208 H 315.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B150D5
RGBrgb(177, 80, 213)
HSLhsl(284, 61%, 57%)
HSVhsv(284, 62%, 84%)
CMYKcmyk(16.9%, 62.4%, 0%, 16.5%)
CIE-LABlab(51.71, 59.59, -51.69)
CIE-LCHlch(51.71, 78.88, 319.06°)
OKLaboklab(60.94% 0.1486 -0.1449)
OKLCHoklch(60.94% 0.208 315.7)
XYZxyz(33.0085, 19.8897, 65.0382)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B150D5 #74D550
analogous
#6E50D5 #B150D5 #D550B7
triadic
#B150D5 #D5B150 #50D5B1
tetradic
#B150D5 #D56E50 #74D550 #50B7D5
square
#B150D5 #D56E50 #74D550 #50B7D5
split-complementary
#B150D5 #B7D550 #50D56E
monochromatic
#6D218A #942DBB #B150D5 #C781E1 #DDB3ED

Accessibility & contrast

On white

4.22
#B150D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B150D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B150D5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B150D5#FFFFFF#000000##000000
##B150D51.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2175D9
Deuteranopia (green-blind)
#4F7ED2
Tritanopia (blue-blind)
#AF688B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b150d5;
/* rgb */ color: rgb(177, 80, 213);
/* oklch */ color: oklch(60.9% 0.208 315.7);
Tailwind
colors: {
  custom: {
    50: '#cc87e2',
    500: '#b150d5',
    950: '#000000',
  },
}
SCSS
$custom: #b150d5;
$custom-light: #cc87e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b150d5",
  "rgb": {
    "r": 177,
    "g": 80,
    "b": 213
  },
  "hsl": {
    "h": 283.759,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60941,
    "c": 0.20757,
    "h": 315.7
  },
  "luminance": 0.19889
}

Semantic roles & 50–950 ramp

primary
#B150D5
secondary
#B4DBA6
accent
#E4436F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B150D5

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

Preview Lab → · Contrast checker → · Palette generator →

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