#B154C7#B154C7

#B154C7 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.6% C 0.188 H 319.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B154C7
RGBrgb(177, 84, 199)
HSLhsl(289, 51%, 55%)
HSVhsv(289, 58%, 78%)
CMYKcmyk(11.1%, 57.8%, 0%, 22%)
CIE-LABlab(51.62, 54.93, -43.82)
CIE-LCHlch(51.62, 70.27, 321.42°)
OKLaboklab(60.63% 0.1433 -0.122)
OKLCHoklch(60.63% 0.188 319.6)
XYZxyz(31.6093, 19.8126, 56.1810)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154C7 #6AC754
analogous
#7754C7 #B154C7 #C754A3
triadic
#B154C7 #C7B154 #54C7B1
tetradic
#B154C7 #C77754 #6AC754 #54A3C7
square
#B154C7 #C77754 #6AC754 #54A3C7
split-complementary
#B154C7 #A3C754 #54C777
monochromatic
#692879 #9237A7 #B154C7 #C682D6 #DBB0E5

Accessibility & contrast

On white

4.23
#B154C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B154C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154C7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154C7#FFFFFF#000000##000000
##B154C71.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CB
Deuteranopia (green-blind)
#5C7EC4
Tritanopia (blue-blind)
#B26686
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b154c7;
/* rgb */ color: rgb(177, 84, 199);
/* oklch */ color: oklch(60.6% 0.188 319.6);
Tailwind
colors: {
  custom: {
    50: '#cb89d8',
    500: '#b154c7',
    950: '#000000',
  },
}
SCSS
$custom: #b154c7;
$custom-light: #cb89d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b154c7",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 199
  },
  "hsl": {
    "h": 288.522,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60627,
    "c": 0.18822,
    "h": 319.6
  },
  "luminance": 0.19811
}

Semantic roles & 50–950 ramp

primary
#B154C7
secondary
#ADD3A3
accent
#DA4E69
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B154C7

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

Preview Lab → · Contrast checker → · Palette generator →

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