#B154C2#B154C2

#B154C2 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.4% C 0.183 H 321.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B154C2
RGBrgb(177, 84, 194)
HSLhsl(291, 47%, 55%)
HSVhsv(291, 57%, 76%)
CMYKcmyk(8.8%, 56.7%, 0%, 23.9%)
CIE-LABlab(51.36, 53.95, -41.35)
CIE-LCHlch(51.36, 67.98, 322.53°)
OKLaboklab(60.35% 0.143 -0.1148)
OKLCHoklch(60.35% 0.183 321.2)
XYZxyz(31.0383, 19.5842, 53.1737)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154C2 #65C254
analogous
#7A54C2 #B154C2 #C2549C
triadic
#B154C2 #C2B154 #54C2B1
tetradic
#B154C2 #C27A54 #65C254 #549CC2
square
#B154C2 #C27A54 #65C254 #549CC2
split-complementary
#B154C2 #9CC254 #54C27A
monochromatic
#672973 #9039A0 #B154C2 #C681D2 #DAAEE2

Accessibility & contrast

On white

4.27
#B154C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B154C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154C2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154C2#FFFFFF#000000##000000
##B154C21.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F74C6
Deuteranopia (green-blind)
#5F7EBF
Tritanopia (blue-blind)
#B36483
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b154c2;
/* rgb */ color: rgb(177, 84, 194);
/* oklch */ color: oklch(60.4% 0.183 321.2);
Tailwind
colors: {
  custom: {
    50: '#cb89d5',
    500: '#b154c2',
    950: '#000000',
  },
}
SCSS
$custom: #b154c2;
$custom-light: #cb89d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b154c2",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 290.727,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60352,
    "c": 0.1834,
    "h": 321.2
  },
  "luminance": 0.19583
}

Semantic roles & 50–950 ramp

primary
#B154C2
secondary
#A9D0A2
accent
#D75166
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B154C2

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

Preview Lab → · Contrast checker → · Palette generator →

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