#B054CD#B054CD

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

Color values

HEX#B054CD
RGBrgb(176, 84, 205)
HSLhsl(286, 55%, 57%)
HSVhsv(286, 59%, 80%)
CMYKcmyk(14.1%, 59%, 0%, 19.6%)
CIE-LABlab(51.81, 55.87, -46.97)
CIE-LCHlch(51.81, 72.99, 319.95°)
OKLaboklab(60.84% 0.1424 -0.1312)
OKLCHoklch(60.84% 0.194 317.3)
XYZxyz(32.0927, 19.9797, 59.9117)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B054CD #71CD54
analogous
#7454CD #B054CD #CD54AE
triadic
#B054CD #CDB054 #54CDB0
tetradic
#B054CD #CD7454 #71CD54 #54AECD
square
#B054CD #CD7454 #71CD54 #54AECD
split-complementary
#B054CD #AECD54 #54CD74
monochromatic
#6B2681 #9234B0 #B054CD #C683DB #DCB3E9

Accessibility & contrast

On white

4.20
#B054CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B054CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B054CD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B054CD#FFFFFF#000000##000000
##B054CD1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3476D1
Deuteranopia (green-blind)
#587ECA
Tritanopia (blue-blind)
#AF6889
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b054cd;
/* rgb */ color: rgb(176, 84, 205);
/* oklch */ color: oklch(60.8% 0.194 317.3);
Tailwind
colors: {
  custom: {
    50: '#ca89dd',
    500: '#b054cd',
    950: '#000000',
  },
}
SCSS
$custom: #b054cd;
$custom-light: #ca89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b054cd",
  "rgb": {
    "r": 176,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 285.62,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60842,
    "c": 0.19363,
    "h": 317.3
  },
  "luminance": 0.19979
}

Semantic roles & 50–950 ramp

primary
#B054CD
secondary
#B2D7A6
accent
#DE4A6D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B054CD

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

Preview Lab → · Contrast checker → · Palette generator →

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