#B154D3#B154D3

#B154D3 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.3% C 0.200 H 316.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B154D3
RGBrgb(177, 84, 211)
HSLhsl(284, 59%, 58%)
HSVhsv(284, 60%, 83%)
CMYKcmyk(16.1%, 60.2%, 0%, 17.3%)
CIE-LABlab(52.28, 57.33, -49.65)
CIE-LCHlch(52.28, 75.84, 319.11°)
OKLaboklab(61.31% 0.1438 -0.139)
OKLCHoklch(61.31% 0.2 316)
XYZxyz(33.0579, 20.3921, 63.8101)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154D3 #76D354
analogous
#7154D3 #B154D3 #D354B5
triadic
#B154D3 #D3B154 #54D3B1
tetradic
#B154D3 #D37154 #76D354 #54B5D3
square
#B154D3 #D37154 #76D354 #54B5D3
split-complementary
#B154D3 #B5D354 #54D371
monochromatic
#6E2389 #9530BA #B154D3 #C785E0 #DDB5EC

Accessibility & contrast

On white

4.14
#B154D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B154D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154D3
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154D3#FFFFFF#000000##000000
##B154D31.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E77D7
Deuteranopia (green-blind)
#547FD0
Tritanopia (blue-blind)
#AF6A8C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b154d3;
/* rgb */ color: rgb(177, 84, 211);
/* oklch */ color: oklch(61.3% 0.200 316.0);
Tailwind
colors: {
  custom: {
    50: '#cb89e1',
    500: '#b154d3',
    950: '#000000',
  },
}
SCSS
$custom: #b154d3;
$custom-light: #cb89e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b154d3",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 283.937,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61314,
    "c": 0.19998,
    "h": 316
  },
  "luminance": 0.20391
}

Semantic roles & 50–950 ramp

primary
#B154D3
secondary
#B6DBA8
accent
#E2466F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B154D3

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

Preview Lab → · Contrast checker → · Palette generator →

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