#B154CA#B154CA

#B154CA is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.8% C 0.191 H 318.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B154CA
RGBrgb(177, 84, 202)
HSLhsl(287, 53%, 56%)
HSVhsv(287, 58%, 79%)
CMYKcmyk(12.4%, 58.4%, 0%, 20.8%)
CIE-LABlab(51.78, 55.52, -45.29)
CIE-LCHlch(51.78, 71.65, 320.80°)
OKLaboklab(60.8% 0.1435 -0.1263)
OKLCHoklch(60.8% 0.191 318.6)
XYZxyz(31.9610, 19.9533, 58.0335)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154CA #6DCA54
analogous
#7654CA #B154CA #CA54A8
triadic
#B154CA #CAB154 #54CAB1
tetradic
#B154CA #CA7654 #6DCA54 #54A8CA
square
#B154CA #CA7654 #6DCA54 #54A8CA
split-complementary
#B154CA #A8CA54 #54CA76
monochromatic
#6B277D #9335AC #B154CA #C683D8 #DCB1E7

Accessibility & contrast

On white

4.21
#B154CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B154CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154CA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154CA#FFFFFF#000000##000000
##B154CA1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3875CE
Deuteranopia (green-blind)
#5A7FC7
Tritanopia (blue-blind)
#B16787
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b154ca;
/* rgb */ color: rgb(177, 84, 202);
/* oklch */ color: oklch(60.8% 0.191 318.6);
Tailwind
colors: {
  custom: {
    50: '#cb89da',
    500: '#b154ca',
    950: '#000000',
  },
}
SCSS
$custom: #b154ca;
$custom-light: #cb89da;
$custom-dark: #000000;
JSON
{
  "hex": "#b154ca",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 287.288,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60795,
    "c": 0.19114,
    "h": 318.6
  },
  "luminance": 0.19952
}

Semantic roles & 50–950 ramp

primary
#B154CA
secondary
#AFD5A5
accent
#DC4C6A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B154CA

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

Preview Lab → · Contrast checker → · Palette generator →

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