#B154D9#B154D9

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

Color values

HEX#B154D9
RGBrgb(177, 84, 217)
HSLhsl(282, 64%, 59%)
HSVhsv(282, 61%, 85%)
CMYKcmyk(18.4%, 61.3%, 0%, 14.9%)
CIE-LABlab(52.62, 58.56, -52.52)
CIE-LCHlch(52.62, 78.66, 318.11°)
OKLaboklab(61.67% 0.1438 -0.1474)
OKLCHoklch(61.67% 0.206 314.3)
XYZxyz(33.8241, 20.6986, 67.8457)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154D9 #7CD954
analogous
#6F54D9 #B154D9 #D954BF
triadic
#B154D9 #D9B154 #54D9B1
tetradic
#B154D9 #D96F54 #7CD954 #54BFD9
square
#B154D9 #D96F54 #7CD954 #54BFD9
split-complementary
#B154D9 #BFD954 #54D96F
monochromatic
#702092 #962CC4 #B154D9 #C886E4 #DFB8EF

Accessibility & contrast

On white

4.09
#B154D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B154D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154D9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154D9#FFFFFF#000000##000000
##B154D91.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2578DD
Deuteranopia (green-blind)
#5080D6
Tritanopia (blue-blind)
#AE6C8F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b154d9;
/* rgb */ color: rgb(177, 84, 217);
/* oklch */ color: oklch(61.7% 0.206 314.3);
Tailwind
colors: {
  custom: {
    50: '#cc89e5',
    500: '#b154d9',
    950: '#000000',
  },
}
SCSS
$custom: #b154d9;
$custom-light: #cc89e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b154d9",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 281.955,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61671,
    "c": 0.20592,
    "h": 314.3
  },
  "luminance": 0.20698
}

Semantic roles & 50–950 ramp

primary
#B154D9
secondary
#BADFAA
accent
#E74173
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B154D9

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

Preview Lab → · Contrast checker → · Palette generator →

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