#B154D7#B154D7

#B154D7 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.6% C 0.204 H 314.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B154D7
RGBrgb(177, 84, 215)
HSLhsl(283, 62%, 59%)
HSVhsv(283, 61%, 84%)
CMYKcmyk(17.7%, 60.9%, 0%, 15.7%)
CIE-LABlab(52.50, 58.14, -51.56)
CIE-LCHlch(52.50, 77.72, 318.43°)
OKLaboklab(61.55% 0.1438 -0.1446)
OKLCHoklch(61.55% 0.204 314.8)
XYZxyz(33.5655, 20.5951, 66.4839)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154D7 #7AD754
analogous
#6F54D7 #B154D7 #D754BB
triadic
#B154D7 #D7B154 #54D7B1
tetradic
#B154D7 #D76F54 #7AD754 #54BBD7
square
#B154D7 #D76F54 #7AD754 #54BBD7
split-complementary
#B154D7 #BBD754 #54D76F
monochromatic
#6F218F #962DC1 #B154D7 #C886E3 #DEB7EE

Accessibility & contrast

On white

4.10
#B154D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B154D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154D7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154D7#FFFFFF#000000##000000
##B154D71.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2878DB
Deuteranopia (green-blind)
#5180D4
Tritanopia (blue-blind)
#AE6B8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b154d7;
/* rgb */ color: rgb(177, 84, 215);
/* oklch */ color: oklch(61.6% 0.204 314.8);
Tailwind
colors: {
  custom: {
    50: '#cc89e4',
    500: '#b154d7',
    950: '#000000',
  },
}
SCSS
$custom: #b154d7;
$custom-light: #cc89e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b154d7",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 215
  },
  "hsl": {
    "h": 282.595,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61551,
    "c": 0.20393,
    "h": 314.8
  },
  "luminance": 0.20594
}

Semantic roles & 50–950 ramp

primary
#B154D7
secondary
#B9DDA9
accent
#E54372
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B154D7

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

Preview Lab → · Contrast checker → · Palette generator →

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