#B154DD#B154DD

#B154DD is a mid, highly saturated purple. Relative luminance 0.209; OKLCH L 61.9% C 0.210 H 313.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B154DD
RGBrgb(177, 84, 221)
HSLhsl(281, 67%, 60%)
HSVhsv(281, 62%, 87%)
CMYKcmyk(19.9%, 62%, 0%, 13.3%)
CIE-LABlab(52.85, 59.39, -54.41)
CIE-LCHlch(52.85, 80.55, 317.50°)
OKLaboklab(61.91% 0.1438 -0.1529)
OKLCHoklch(61.91% 0.21 313.2)
XYZxyz(34.3507, 20.9092, 70.6190)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154DD #80DD54
analogous
#6D54DD #B154DD #DD54C4
triadic
#B154DD #DDB154 #54DDB1
tetradic
#B154DD #DD6D54 #80DD54 #54C4DD
square
#B154DD #DD6D54 #80DD54 #54C4DD
split-complementary
#B154DD #C4DD54 #54DD6D
monochromatic
#711E98 #9728CB #B154DD #C887E7 #E0BAF1

Accessibility & contrast

On white

4.05
#B154DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#B154DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154DD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154DD#FFFFFF#000000##000000
##B154DD1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D79E1
Deuteranopia (green-blind)
#4C80DA
Tritanopia (blue-blind)
#AD6E91
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b154dd;
/* rgb */ color: rgb(177, 84, 221);
/* oklch */ color: oklch(61.9% 0.210 313.2);
Tailwind
colors: {
  custom: {
    50: '#cc89e8',
    500: '#b154dd',
    950: '#000000',
  },
}
SCSS
$custom: #b154dd;
$custom-light: #cc89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b154dd",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 280.73,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61914,
    "c": 0.2099,
    "h": 313.2
  },
  "luminance": 0.20908
}

Semantic roles & 50–950 ramp

primary
#B154DD
secondary
#BDE1AC
accent
#EA3E75
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B154DD

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

Preview Lab → · Contrast checker → · Palette generator →

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