#B150D2#B150D2

#B150D2 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.8% C 0.205 H 316.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B150D2
RGBrgb(177, 80, 210)
HSLhsl(285, 59%, 57%)
HSVhsv(285, 62%, 82%)
CMYKcmyk(15.7%, 61.9%, 0%, 17.6%)
CIE-LABlab(51.54, 58.98, -50.25)
CIE-LCHlch(51.54, 77.49, 319.57°)
OKLaboklab(60.76% 0.1486 -0.1407)
OKLCHoklch(60.76% 0.205 316.6)
XYZxyz(32.6312, 19.7388, 63.0514)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B150D2 #71D250
analogous
#7050D2 #B150D2 #D250B2
triadic
#B150D2 #D2B150 #50D2B1
tetradic
#B150D2 #D27050 #71D250 #50B2D2
square
#B150D2 #D27050 #71D250 #50B2D2
split-complementary
#B150D2 #B2D250 #50D270
monochromatic
#6C2285 #942FB6 #B150D2 #C781DF #DCB1EB

Accessibility & contrast

On white

4.24
#B150D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#B150D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B150D2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B150D2#FFFFFF#000000##000000
##B150D21.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2675D6
Deuteranopia (green-blind)
#527ECF
Tritanopia (blue-blind)
#AF678A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b150d2;
/* rgb */ color: rgb(177, 80, 210);
/* oklch */ color: oklch(60.8% 0.205 316.6);
Tailwind
colors: {
  custom: {
    50: '#cc87e0',
    500: '#b150d2',
    950: '#000000',
  },
}
SCSS
$custom: #b150d2;
$custom-light: #cc87e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b150d2",
  "rgb": {
    "r": 177,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 284.769,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60761,
    "c": 0.20466,
    "h": 316.6
  },
  "luminance": 0.19738
}

Semantic roles & 50–950 ramp

primary
#B150D2
secondary
#B2D9A4
accent
#E2466D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B150D2

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

Preview Lab → · Contrast checker → · Palette generator →

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