#B150DB#B150DB

#B150DB is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.3% C 0.213 H 314.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B150DB
RGBrgb(177, 80, 219)
HSLhsl(282, 66%, 59%)
HSVhsv(282, 63%, 86%)
CMYKcmyk(19.2%, 63.5%, 0%, 14.1%)
CIE-LABlab(52.06, 60.81, -54.54)
CIE-LCHlch(52.06, 81.69, 318.11°)
OKLaboklab(61.31% 0.1485 -0.1533)
OKLCHoklch(61.31% 0.213 314.1)
XYZxyz(33.7842, 20.2000, 69.1234)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B150DB #7ADB50
analogous
#6B50DB #B150DB #DB50BF
triadic
#B150DB #DBB150 #50DBB1
tetradic
#B150DB #DB6B50 #7ADB50 #50BFDB
square
#B150DB #DB6B50 #7ADB50 #50BFDB
split-complementary
#B150DB #BFDB50 #50DB6B
monochromatic
#6F1E92 #9629C5 #B150DB #C883E5 #DEB6F0

Accessibility & contrast

On white

4.17
#B150DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B150DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B150DB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B150DB#FFFFFF#000000##000000
##B150DB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1277DF
Deuteranopia (green-blind)
#4A7FD8
Tritanopia (blue-blind)
#AD6A8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b150db;
/* rgb */ color: rgb(177, 80, 219);
/* oklch */ color: oklch(61.3% 0.213 314.1);
Tailwind
colors: {
  custom: {
    50: '#cc87e7',
    500: '#b150db',
    950: '#000000',
  },
}
SCSS
$custom: #b150db;
$custom-light: #cc87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b150db",
  "rgb": {
    "r": 177,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 281.871,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61306,
    "c": 0.2134,
    "h": 314.1
  },
  "luminance": 0.20199
}

Semantic roles & 50–950 ramp

primary
#B150DB
secondary
#B9DFA8
accent
#E93F72
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B150DB

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

Preview Lab → · Contrast checker → · Palette generator →

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