#B054CF#B054CF

#B054CF is a mid, vivid purple. Relative luminance 0.201; OKLCH L 61.0% C 0.196 H 316.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B054CF
RGBrgb(176, 84, 207)
HSLhsl(285, 56%, 57%)
HSVhsv(285, 59%, 81%)
CMYKcmyk(15%, 59.4%, 0%, 18.8%)
CIE-LABlab(51.92, 56.27, -47.94)
CIE-LCHlch(51.92, 73.92, 319.57°)
OKLaboklab(60.96% 0.1425 -0.134)
OKLCHoklch(60.96% 0.196 316.7)
XYZxyz(32.3356, 20.0769, 61.1913)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B054CF #73CF54
analogous
#7354CF #B054CF #CF54B1
triadic
#B054CF #CFB054 #54CFB0
tetradic
#B054CF #CF7354 #73CF54 #54B1CF
square
#B054CF #CF7354 #73CF54 #54B1CF
split-complementary
#B054CF #B1CF54 #54CF73
monochromatic
#6C2584 #9332B3 #B054CF #C684DC #DCB4EA

Accessibility & contrast

On white

4.19
#B054CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B054CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B054CF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B054CF#FFFFFF#000000##000000
##B054CF1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3276D3
Deuteranopia (green-blind)
#567FCC
Tritanopia (blue-blind)
#AF698A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b054cf;
/* rgb */ color: rgb(176, 84, 207);
/* oklch */ color: oklch(61.0% 0.196 316.7);
Tailwind
colors: {
  custom: {
    50: '#cb89de',
    500: '#b054cf',
    950: '#000000',
  },
}
SCSS
$custom: #b054cf;
$custom-light: #cb89de;
$custom-dark: #000000;
JSON
{
  "hex": "#b054cf",
  "rgb": {
    "r": 176,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 284.878,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60957,
    "c": 0.19561,
    "h": 316.7
  },
  "luminance": 0.20076
}

Semantic roles & 50–950 ramp

primary
#B054CF
secondary
#B3D8A6
accent
#DF486E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B054CF

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

Preview Lab → · Contrast checker → · Palette generator →

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