#B154C8#B154C8

#B154C8 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.7% C 0.189 H 319.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B154C8
RGBrgb(177, 84, 200)
HSLhsl(288, 51%, 56%)
HSVhsv(288, 58%, 78%)
CMYKcmyk(11.5%, 58%, 0%, 21.6%)
CIE-LABlab(51.68, 55.13, -44.31)
CIE-LCHlch(51.68, 70.73, 321.21°)
OKLaboklab(60.68% 0.1434 -0.1234)
OKLCHoklch(60.68% 0.189 319.3)
XYZxyz(31.7258, 19.8592, 56.7944)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154C8 #6BC854
analogous
#7754C8 #B154C8 #C854A5
triadic
#B154C8 #C8B154 #54C8B1
tetradic
#B154C8 #C87754 #6BC854 #54A5C8
square
#B154C8 #C87754 #6BC854 #54A5C8
split-complementary
#B154C8 #A5C854 #54C877
monochromatic
#6A277A #9236A9 #B154C8 #C682D7 #DBB1E6

Accessibility & contrast

On white

4.22
#B154C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B154C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154C8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154C8#FFFFFF#000000##000000
##B154C81.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A75CC
Deuteranopia (green-blind)
#5C7EC5
Tritanopia (blue-blind)
#B16686
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b154c8;
/* rgb */ color: rgb(177, 84, 200);
/* oklch */ color: oklch(60.7% 0.189 319.3);
Tailwind
colors: {
  custom: {
    50: '#cb89d9',
    500: '#b154c8',
    950: '#000000',
  },
}
SCSS
$custom: #b154c8;
$custom-light: #cb89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b154c8",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 288.103,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60683,
    "c": 0.18919,
    "h": 319.3
  },
  "luminance": 0.19858
}

Semantic roles & 50–950 ramp

primary
#B154C8
secondary
#ADD4A4
accent
#DB4D69
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C15
muted
#827D83

Preview Lab

Preview with #B154C8

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

Preview Lab → · Contrast checker → · Palette generator →

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