#B154D8#B154D8

#B154D8 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.6% C 0.205 H 314.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B154D8
RGBrgb(177, 84, 216)
HSLhsl(282, 63%, 59%)
HSVhsv(282, 61%, 85%)
CMYKcmyk(18.1%, 61.1%, 0%, 15.3%)
CIE-LABlab(52.56, 58.35, -52.04)
CIE-LCHlch(52.56, 78.19, 318.27°)
OKLaboklab(61.61% 0.1438 -0.146)
OKLCHoklch(61.61% 0.205 314.6)
XYZxyz(33.6944, 20.6467, 67.1627)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154D8 #7BD854
analogous
#6F54D8 #B154D8 #D854BD
triadic
#B154D8 #D8B154 #54D8B1
tetradic
#B154D8 #D86F54 #7BD854 #54BDD8
square
#B154D8 #D86F54 #7BD854 #54BDD8
split-complementary
#B154D8 #BDD854 #54D86F
monochromatic
#702191 #962CC2 #B154D8 #C886E3 #DEB8EF

Accessibility & contrast

On white

4.09
#B154D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#B154D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154D8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154D8#FFFFFF#000000##000000
##B154D81.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2678DC
Deuteranopia (green-blind)
#5180D5
Tritanopia (blue-blind)
#AE6C8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b154d8;
/* rgb */ color: rgb(177, 84, 216);
/* oklch */ color: oklch(61.6% 0.205 314.6);
Tailwind
colors: {
  custom: {
    50: '#cc89e5',
    500: '#b154d8',
    950: '#000000',
  },
}
SCSS
$custom: #b154d8;
$custom-light: #cc89e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b154d8",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 282.273,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61611,
    "c": 0.20493,
    "h": 314.6
  },
  "luminance": 0.20646
}

Semantic roles & 50–950 ramp

primary
#B154D8
secondary
#B9DEAA
accent
#E64272
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B154D8

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

Preview Lab → · Contrast checker → · Palette generator →

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