#B54CDA#B54CDA

#B54CDA is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.3% C 0.219 H 316.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B54CDA
RGBrgb(181, 76, 218)
HSLhsl(284, 66%, 58%)
HSVhsv(284, 65%, 85%)
CMYKcmyk(17%, 65.1%, 0%, 14.5%)
CIE-LABlab(51.90, 63.28, -54.20)
CIE-LCHlch(51.90, 83.32, 319.42°)
OKLaboklab(61.28% 0.1579 -0.1521)
OKLCHoklch(61.28% 0.219 316.1)
XYZxyz(34.2934, 20.0559, 68.3808)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CDA #71DA4C
analogous
#6E4CDA #B54CDA #DA4CB8
triadic
#B54CDA #DAB54C #4CDAB5
tetradic
#B54CDA #DA6E4C #71DA4C #4CB8DA
square
#B54CDA #DA6E4C #71DA4C #4CB8DA
split-complementary
#B54CDA #B8DA4C #4CDA6E
monochromatic
#711D8E #9928C1 #B54CDA #CA7FE4 #DFB1EF

Accessibility & contrast

On white

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

On black

5.01
#B54CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CDA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CDA#FFFFFF#000000##000000
##B54CDA1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0975DE
Deuteranopia (green-blind)
#4C7FD7
Tritanopia (blue-blind)
#B3678D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b54cda;
/* rgb */ color: rgb(181, 76, 218);
/* oklch */ color: oklch(61.3% 0.219 316.1);
Tailwind
colors: {
  custom: {
    50: '#cf85e6',
    500: '#b54cda',
    950: '#000000',
  },
}
SCSS
$custom: #b54cda;
$custom-light: #cf85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cda",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 284.366,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61283,
    "c": 0.21926,
    "h": 316.1
  },
  "luminance": 0.20055
}

Semantic roles & 50–950 ramp

primary
#B54CDA
secondary
#B3DDA4
accent
#E93F6B
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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