#B054CC#B054CC

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

Color values

HEX#B054CC
RGBrgb(176, 84, 204)
HSLhsl(286, 54%, 56%)
HSVhsv(286, 59%, 80%)
CMYKcmyk(13.7%, 58.8%, 0%, 20%)
CIE-LABlab(51.76, 55.67, -46.48)
CIE-LCHlch(51.76, 72.52, 320.14°)
OKLaboklab(60.79% 0.1424 -0.1298)
OKLCHoklch(60.79% 0.193 317.6)
XYZxyz(31.9724, 19.9316, 59.2781)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B054CC #70CC54
analogous
#7454CC #B054CC #CC54AC
triadic
#B054CC #CCB054 #54CCB0
tetradic
#B054CC #CC7454 #70CC54 #54ACCC
square
#B054CC #CC7454 #70CC54 #54ACCC
split-complementary
#B054CC #ACCC54 #54CC74
monochromatic
#6B2680 #9234AF #B054CC #C683DA #DCB2E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B054CC#FFFFFF#000000##000000
##B054CC1.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)
#3575D0
Deuteranopia (green-blind)
#587EC9
Tritanopia (blue-blind)
#AF6888
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b054cc;
/* rgb */ color: rgb(176, 84, 204);
/* oklch */ color: oklch(60.8% 0.193 317.6);
Tailwind
colors: {
  custom: {
    50: '#ca89dc',
    500: '#b054cc',
    950: '#000000',
  },
}
SCSS
$custom: #b054cc;
$custom-light: #ca89dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b054cc",
  "rgb": {
    "r": 176,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 286,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60785,
    "c": 0.19265,
    "h": 317.6
  },
  "luminance": 0.1993
}

Semantic roles & 50–950 ramp

primary
#B054CC
secondary
#B1D7A5
accent
#DD4A6D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B054CC

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

Preview Lab → · Contrast checker → · Palette generator →

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