#B154CE#B154CE

#B154CE is a mid, vivid purple. Relative luminance 0.201; OKLCH L 61.0% C 0.195 H 317.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B154CE
RGBrgb(177, 84, 206)
HSLhsl(286, 55%, 57%)
HSVhsv(286, 59%, 81%)
CMYKcmyk(14.1%, 59.2%, 0%, 19.2%)
CIE-LABlab(52.00, 56.32, -47.23)
CIE-LCHlch(52.00, 73.50, 320.01°)
OKLaboklab(61.02% 0.1436 -0.132)
OKLCHoklch(61.02% 0.195 317.4)
XYZxyz(32.4408, 20.1452, 60.5601)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154CE #71CE54
analogous
#7454CE #B154CE #CE54AE
triadic
#B154CE #CEB154 #54CEB1
tetradic
#B154CE #CE7454 #71CE54 #54AECE
square
#B154CE #CE7454 #71CE54 #54AECE
split-complementary
#B154CE #AECE54 #54CE74
monochromatic
#6C2582 #9433B2 #B154CE #C784DC #DCB3E9

Accessibility & contrast

On white

4.18
#B154CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B154CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154CE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154CE#FFFFFF#000000##000000
##B154CE1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3476D2
Deuteranopia (green-blind)
#587FCB
Tritanopia (blue-blind)
#B06889
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b154ce;
/* rgb */ color: rgb(177, 84, 206);
/* oklch */ color: oklch(61.0% 0.195 317.4);
Tailwind
colors: {
  custom: {
    50: '#cb89dd',
    500: '#b154ce',
    950: '#000000',
  },
}
SCSS
$custom: #b154ce;
$custom-light: #cb89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b154ce",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 285.738,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61023,
    "c": 0.19505,
    "h": 317.4
  },
  "luminance": 0.20144
}

Semantic roles & 50–950 ramp

primary
#B154CE
secondary
#B2D8A6
accent
#DF496D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B154CE

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

Preview Lab → · Contrast checker → · Palette generator →

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