#B154DB#B154DB

#B154DB is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.8% C 0.208 H 313.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B154DB
RGBrgb(177, 84, 219)
HSLhsl(281, 65%, 59%)
HSVhsv(281, 62%, 86%)
CMYKcmyk(19.2%, 61.6%, 0%, 14.1%)
CIE-LABlab(52.73, 58.97, -53.47)
CIE-LCHlch(52.73, 79.60, 317.80°)
OKLaboklab(61.79% 0.1438 -0.1502)
OKLCHoklch(61.79% 0.208 313.8)
XYZxyz(34.0858, 20.8032, 69.2240)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154DB #7EDB54
analogous
#6E54DB #B154DB #DB54C2
triadic
#B154DB #DBB154 #54DBB1
tetradic
#B154DB #DB6E54 #7EDB54 #54C2DB
square
#B154DB #DB6E54 #7EDB54 #54C2DB
split-complementary
#B154DB #C2DB54 #54DB6E
monochromatic
#711F95 #972AC8 #B154DB #C887E6 #DFB9F0

Accessibility & contrast

On white

4.07
#B154DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#B154DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154DB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154DB#FFFFFF#000000##000000
##B154DB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2179DF
Deuteranopia (green-blind)
#4E80D8
Tritanopia (blue-blind)
#AD6D90
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b154db;
/* rgb */ color: rgb(177, 84, 219);
/* oklch */ color: oklch(61.8% 0.208 313.8);
Tailwind
colors: {
  custom: {
    50: '#cc89e7',
    500: '#b154db',
    950: '#000000',
  },
}
SCSS
$custom: #b154db;
$custom-light: #cc89e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b154db",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 281.333,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61792,
    "c": 0.20791,
    "h": 313.8
  },
  "luminance": 0.20802
}

Semantic roles & 50–950 ramp

primary
#B154DB
secondary
#BBE0AB
accent
#E84074
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B154DB

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

Preview Lab → · Contrast checker → · Palette generator →

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