#B154DA#B154DA

#B154DA is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.7% C 0.207 H 314.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B154DA
RGBrgb(177, 84, 218)
HSLhsl(282, 64%, 59%)
HSVhsv(282, 61%, 85%)
CMYKcmyk(18.8%, 61.5%, 0%, 14.5%)
CIE-LABlab(52.68, 58.76, -52.99)
CIE-LCHlch(52.68, 79.13, 317.96°)
OKLaboklab(61.73% 0.1438 -0.1488)
OKLCHoklch(61.73% 0.207 314)
XYZxyz(33.9546, 20.7507, 68.5327)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154DA #7DDA54
analogous
#6E54DA #B154DA #DA54C0
triadic
#B154DA #DAB154 #54DAB1
tetradic
#B154DA #DA6E54 #7DDA54 #54C0DA
square
#B154DA #DA6E54 #7DDA54 #54C0DA
split-complementary
#B154DA #C0DA54 #54DA6E
monochromatic
#702094 #972BC6 #B154DA #C886E5 #DFB9F0

Accessibility & contrast

On white

4.08
#B154DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#B154DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154DA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154DA#FFFFFF#000000##000000
##B154DA1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2379DE
Deuteranopia (green-blind)
#4F80D7
Tritanopia (blue-blind)
#AD6D8F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b154da;
/* rgb */ color: rgb(177, 84, 218);
/* oklch */ color: oklch(61.7% 0.207 314.0);
Tailwind
colors: {
  custom: {
    50: '#cc89e6',
    500: '#b154da',
    950: '#000000',
  },
}
SCSS
$custom: #b154da;
$custom-light: #cc89e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b154da",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 281.642,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61731,
    "c": 0.20692,
    "h": 314
  },
  "luminance": 0.2075
}

Semantic roles & 50–950 ramp

primary
#B154DA
secondary
#BBDFAB
accent
#E74073
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B154DA

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

Preview Lab → · Contrast checker → · Palette generator →

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