#B150DF#B150DF

#B150DF is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.6% C 0.217 H 313.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B150DF
RGBrgb(177, 80, 223)
HSLhsl(281, 69%, 59%)
HSVhsv(281, 64%, 87%)
CMYKcmyk(20.6%, 64.1%, 0%, 12.5%)
CIE-LABlab(52.30, 61.63, -56.43)
CIE-LCHlch(52.30, 83.56, 317.53°)
OKLaboklab(61.56% 0.1483 -0.1588)
OKLCHoklch(61.56% 0.217 313)
XYZxyz(34.3171, 20.4131, 71.9301)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B150DF #7EDF50
analogous
#6A50DF #B150DF #DF50C6
triadic
#B150DF #DFB150 #50DFB1
tetradic
#B150DF #DF6A50 #7EDF50 #50C6DF
square
#B150DF #DF6A50 #7EDF50 #50C6DF
split-complementary
#B150DF #C6DF50 #50DF6A
monochromatic
#711C99 #9725CC #B150DF #C884E8 #DFB7F2

Accessibility & contrast

On white

4.13
#B150DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B150DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B150DF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B150DF#FFFFFF#000000##000000
##B150DF1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0178E3
Deuteranopia (green-blind)
#477FDC
Tritanopia (blue-blind)
#AC6C91
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b150df;
/* rgb */ color: rgb(177, 80, 223);
/* oklch */ color: oklch(61.6% 0.217 313.0);
Tailwind
colors: {
  custom: {
    50: '#cc87ea',
    500: '#b150df',
    950: '#000000',
  },
}
SCSS
$custom: #b150df;
$custom-light: #cc87ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b150df",
  "rgb": {
    "r": 177,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 280.699,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61555,
    "c": 0.2173,
    "h": 313
  },
  "luminance": 0.20412
}

Semantic roles & 50–950 ramp

primary
#B150DF
secondary
#BBE1AA
accent
#EC3C75
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B150DF

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

Preview Lab → · Contrast checker → · Palette generator →

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