#B154C1#B154C1

#B154C1 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.3% C 0.182 H 321.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B154C1
RGBrgb(177, 84, 193)
HSLhsl(291, 47%, 54%)
HSVhsv(291, 56%, 76%)
CMYKcmyk(8.3%, 56.5%, 0%, 24.3%)
CIE-LABlab(51.31, 53.76, -40.86)
CIE-LCHlch(51.31, 67.53, 322.77°)
OKLaboklab(60.3% 0.1429 -0.1134)
OKLCHoklch(60.3% 0.182 321.6)
XYZxyz(30.9264, 19.5395, 52.5842)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154C1 #64C154
analogous
#7B54C1 #B154C1 #C1549A
triadic
#B154C1 #C1B154 #54C1B1
tetradic
#B154C1 #C17B54 #64C154 #549AC1
square
#B154C1 #C17B54 #64C154 #549AC1
split-complementary
#B154C1 #9AC154 #54C17B
monochromatic
#672971 #90399E #B154C1 #C581D1 #DAAEE2

Accessibility & contrast

On white

4.28
#B154C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B154C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154C1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154C1#FFFFFF#000000##000000
##B154C11.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4073C4
Deuteranopia (green-blind)
#607EBE
Tritanopia (blue-blind)
#B36483
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b154c1;
/* rgb */ color: rgb(177, 84, 193);
/* oklch */ color: oklch(60.3% 0.182 321.6);
Tailwind
colors: {
  custom: {
    50: '#cb89d4',
    500: '#b154c1',
    950: '#000000',
  },
}
SCSS
$custom: #b154c1;
$custom-light: #cb89d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b154c1",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 193
  },
  "hsl": {
    "h": 291.193,
    "s": 46.781,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60298,
    "c": 0.18244,
    "h": 321.6
  },
  "luminance": 0.19538
}

Semantic roles & 50–950 ramp

primary
#B154C1
secondary
#A8D0A1
accent
#D65165
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B154C1

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

Preview Lab → · Contrast checker → · Palette generator →

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