#B054CB#B054CB

#B054CB is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.7% C 0.192 H 318.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B054CB
RGBrgb(176, 84, 203)
HSLhsl(286, 53%, 56%)
HSVhsv(286, 59%, 80%)
CMYKcmyk(13.3%, 58.6%, 0%, 20.4%)
CIE-LABlab(51.71, 55.47, -45.99)
CIE-LCHlch(51.71, 72.06, 320.33°)
OKLaboklab(60.73% 0.1423 -0.1284)
OKLCHoklch(60.73% 0.192 318)
XYZxyz(31.8528, 19.8838, 58.6484)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B054CB #6FCB54
analogous
#7554CB #B054CB #CB54AA
triadic
#B054CB #CBB054 #54CBB0
tetradic
#B054CB #CB7554 #6FCB54 #54AACB
square
#B054CB #CB7554 #6FCB54 #54AACB
split-complementary
#B054CB #AACB54 #54CB75
monochromatic
#6A267E #9235AD #B054CB #C683D9 #DBB2E8

Accessibility & contrast

On white

4.22
#B054CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B054CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B054CB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B054CB#FFFFFF#000000##000000
##B054CB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3675CF
Deuteranopia (green-blind)
#597EC8
Tritanopia (blue-blind)
#B06788
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b054cb;
/* rgb */ color: rgb(176, 84, 203);
/* oklch */ color: oklch(60.7% 0.192 318.0);
Tailwind
colors: {
  custom: {
    50: '#ca89db',
    500: '#b054cb',
    950: '#000000',
  },
}
SCSS
$custom: #b054cb;
$custom-light: #ca89db;
$custom-dark: #000000;
JSON
{
  "hex": "#b054cb",
  "rgb": {
    "r": 176,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 286.387,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60728,
    "c": 0.19167,
    "h": 318
  },
  "luminance": 0.19883
}

Semantic roles & 50–950 ramp

primary
#B054CB
secondary
#B0D6A5
accent
#DD4B6C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B054CB

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

Preview Lab → · Contrast checker → · Palette generator →

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