#B154CC#B154CC

#B154CC is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.9% C 0.193 H 318.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B154CC
RGBrgb(177, 84, 204)
HSLhsl(287, 54%, 56%)
HSVhsv(287, 59%, 80%)
CMYKcmyk(13.2%, 58.8%, 0%, 20%)
CIE-LABlab(51.89, 55.92, -46.26)
CIE-LCHlch(51.89, 72.57, 320.40°)
OKLaboklab(60.91% 0.1436 -0.1291)
OKLCHoklch(60.91% 0.193 318)
XYZxyz(32.1994, 20.0487, 59.2887)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154CC #6FCC54
analogous
#7554CC #B154CC #CC54AB
triadic
#B154CC #CCB154 #54CCB1
tetradic
#B154CC #CC7554 #6FCC54 #54ABCC
square
#B154CC #CC7554 #6FCC54 #54ABCC
split-complementary
#B154CC #ABCC54 #54CC75
monochromatic
#6B2680 #9334AF #B154CC #C783DA #DCB2E8

Accessibility & contrast

On white

4.19
#B154CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B154CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154CC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154CC#FFFFFF#000000##000000
##B154CC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3676D0
Deuteranopia (green-blind)
#597FC9
Tritanopia (blue-blind)
#B16888
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b154cc;
/* rgb */ color: rgb(177, 84, 204);
/* oklch */ color: oklch(60.9% 0.193 318.0);
Tailwind
colors: {
  custom: {
    50: '#cb89dc',
    500: '#b154cc',
    950: '#000000',
  },
}
SCSS
$custom: #b154cc;
$custom-light: #cb89dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b154cc",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 286.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60909,
    "c": 0.19309,
    "h": 318
  },
  "luminance": 0.20047
}

Semantic roles & 50–950 ramp

primary
#B154CC
secondary
#B0D7A5
accent
#DD4A6B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B154CC

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

Preview Lab → · Contrast checker → · Palette generator →

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