#B54CCF#B54CCF

#B54CCF is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.6% C 0.209 H 319.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B54CCF
RGBrgb(181, 76, 207)
HSLhsl(288, 58%, 55%)
HSVhsv(288, 63%, 81%)
CMYKcmyk(12.6%, 63.3%, 0%, 18.8%)
CIE-LABlab(51.27, 61.13, -48.94)
CIE-LCHlch(51.27, 78.31, 321.32°)
OKLaboklab(60.62% 0.1581 -0.1368)
OKLCHoklch(60.62% 0.209 319.1)
XYZxyz(32.9015, 19.4991, 61.0500)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CCF #66CF4C
analogous
#744CCF #B54CCF #CF4CA7
triadic
#B54CCF #CFB54C #4CCFB5
tetradic
#B54CCF #CF744C #66CF4C #4CA7CF
square
#B54CCF #CF744C #66CF4C #4CA7CF
split-complementary
#B54CCF #A7CF4C #4CCF74
monochromatic
#6C227F #952FAF #B54CCF #C97CDC #DDADE9

Accessibility & contrast

On white

4.29
#B54CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B54CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CCF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CCF#FFFFFF#000000##000000
##B54CCF1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2573D3
Deuteranopia (green-blind)
#547ECC
Tritanopia (blue-blind)
#B56287
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b54ccf;
/* rgb */ color: rgb(181, 76, 207);
/* oklch */ color: oklch(60.6% 0.209 319.1);
Tailwind
colors: {
  custom: {
    50: '#ce85de',
    500: '#b54ccf',
    950: '#000000',
  },
}
SCSS
$custom: #b54ccf;
$custom-light: #ce85de;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ccf",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 288.092,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60621,
    "c": 0.20904,
    "h": 319.1
  },
  "luminance": 0.19498
}

Semantic roles & 50–950 ramp

primary
#B54CCF
secondary
#ABD7A0
accent
#E14765
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B54CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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