#B154D6#B154D6

#B154D6 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.5% C 0.203 H 315.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B154D6
RGBrgb(177, 84, 214)
HSLhsl(283, 61%, 58%)
HSVhsv(283, 61%, 84%)
CMYKcmyk(17.3%, 60.7%, 0%, 16.1%)
CIE-LABlab(52.45, 57.94, -51.09)
CIE-LCHlch(52.45, 77.24, 318.60°)
OKLaboklab(61.49% 0.1438 -0.1432)
OKLCHoklch(61.49% 0.203 315.1)
XYZxyz(33.4374, 20.5439, 65.8093)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154D6 #79D654
analogous
#7054D6 #B154D6 #D654BA
triadic
#B154D6 #D6B154 #54D6B1
tetradic
#B154D6 #D67054 #79D654 #54BAD6
square
#B154D6 #D67054 #79D654 #54BAD6
split-complementary
#B154D6 #BAD654 #54D670
monochromatic
#6F228E #962EBF #B154D6 #C885E2 #DEB7EE

Accessibility & contrast

On white

4.11
#B154D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B154D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154D6
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154D6#FFFFFF#000000##000000
##B154D61.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2978DA
Deuteranopia (green-blind)
#5280D3
Tritanopia (blue-blind)
#AE6B8D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b154d6;
/* rgb */ color: rgb(177, 84, 214);
/* oklch */ color: oklch(61.5% 0.203 315.1);
Tailwind
colors: {
  custom: {
    50: '#cb89e3',
    500: '#b154d6',
    950: '#000000',
  },
}
SCSS
$custom: #b154d6;
$custom-light: #cb89e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b154d6",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 214
  },
  "hsl": {
    "h": 282.923,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61491,
    "c": 0.20294,
    "h": 315.1
  },
  "luminance": 0.20543
}

Semantic roles & 50–950 ramp

primary
#B154D6
secondary
#B8DDA9
accent
#E44371
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C15
muted
#827D84

Preview Lab

Preview with #B154D6

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

Preview Lab → · Contrast checker → · Palette generator →

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