#B151DB#B151DB

#B151DB is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.4% C 0.212 H 314.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B151DB
RGBrgb(177, 81, 219)
HSLhsl(282, 66%, 59%)
HSVhsv(282, 63%, 86%)
CMYKcmyk(19.2%, 63%, 0%, 14.1%)
CIE-LABlab(52.23, 60.36, -54.28)
CIE-LCHlch(52.23, 81.17, 318.04°)
OKLaboklab(61.43% 0.1473 -0.1525)
OKLCHoklch(61.43% 0.212 314)
XYZxyz(33.8579, 20.3475, 69.1480)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B151DB #7BDB51
analogous
#6C51DB #B151DB #DB51C0
triadic
#B151DB #DBB151 #51DBB1
tetradic
#B151DB #DB6C51 #7BDB51 #51C0DB
square
#B151DB #DB6C51 #7BDB51 #51C0DB
split-complementary
#B151DB #C0DB51 #51DB6C
monochromatic
#701E93 #9629C6 #B151DB #C884E5 #DEB6F0

Accessibility & contrast

On white

4.14
#B151DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#B151DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B151DB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B151DB#FFFFFF#000000##000000
##B151DB1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1777DF
Deuteranopia (green-blind)
#4B7FD8
Tritanopia (blue-blind)
#AD6B8F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b151db;
/* rgb */ color: rgb(177, 81, 219);
/* oklch */ color: oklch(61.4% 0.212 314.0);
Tailwind
colors: {
  custom: {
    50: '#cc88e7',
    500: '#b151db',
    950: '#000000',
  },
}
SCSS
$custom: #b151db;
$custom-light: #cc88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b151db",
  "rgb": {
    "r": 177,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 281.739,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61426,
    "c": 0.21204,
    "h": 314
  },
  "luminance": 0.20346
}

Semantic roles & 50–950 ramp

primary
#B151DB
secondary
#B9DFA9
accent
#E93F73
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B151DB

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

Preview Lab → · Contrast checker → · Palette generator →

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