#B54CDF#B54CDF

#B54CDF is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.6% C 0.224 H 314.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B54CDF
RGBrgb(181, 76, 223)
HSLhsl(283, 70%, 59%)
HSVhsv(283, 66%, 87%)
CMYKcmyk(18.8%, 65.9%, 0%, 12.5%)
CIE-LABlab(52.20, 64.28, -56.56)
CIE-LCHlch(52.20, 85.62, 318.65°)
OKLaboklab(61.59% 0.1577 -0.1591)
OKLCHoklch(61.59% 0.224 314.7)
XYZxyz(34.9576, 20.3215, 71.8787)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CDF #76DF4C
analogous
#6B4CDF #B54CDF #DF4CBF
triadic
#B54CDF #DFB54C #4CDFB5
tetradic
#B54CDF #DF6B4C #76DF4C #4CBFDF
square
#B54CDF #DF6B4C #76DF4C #4CBFDF
split-complementary
#B54CDF #BFDF4C #4CDF6B
monochromatic
#731B96 #9A24CA #B54CDF #CA80E8 #E0B4F2

Accessibility & contrast

On white

4.15
#B54CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B54CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CDF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CDF#FFFFFF#000000##000000
##B54CDF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#477FDC
Tritanopia (blue-blind)
#B2698F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b54cdf;
/* rgb */ color: rgb(181, 76, 223);
/* oklch */ color: oklch(61.6% 0.224 314.7);
Tailwind
colors: {
  custom: {
    50: '#cf85ea',
    500: '#b54cdf',
    950: '#000000',
  },
}
SCSS
$custom: #b54cdf;
$custom-light: #cf85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cdf",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 282.857,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61593,
    "c": 0.22396,
    "h": 314.7
  },
  "luminance": 0.2032
}

Semantic roles & 50–950 ramp

primary
#B54CDF
secondary
#B7E0A6
accent
#EC3B6E
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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