#B54DDF#B54DDF

#B54DDF is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.7% C 0.223 H 314.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B54DDF
RGBrgb(181, 77, 223)
HSLhsl(283, 70%, 59%)
HSVhsv(283, 65%, 87%)
CMYKcmyk(18.8%, 65.5%, 0%, 12.5%)
CIE-LABlab(52.35, 63.85, -56.31)
CIE-LCHlch(52.35, 85.13, 318.59°)
OKLaboklab(61.7% 0.1566 -0.1583)
OKLCHoklch(61.7% 0.223 314.7)
XYZxyz(35.0270, 20.4604, 71.9019)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DDF #77DF4D
analogous
#6C4DDF #B54DDF #DF4DC0
triadic
#B54DDF #DFB54D #4DDFB5
tetradic
#B54DDF #DF6C4D #77DF4D #4DC0DF
square
#B54DDF #DF6C4D #77DF4D #4DC0DF
split-complementary
#B54DDF #C0DF4D #4DDF6C
monochromatic
#731B97 #9B24CA #B54DDF #CB81E8 #E0B5F2

Accessibility & contrast

On white

4.12
#B54DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#B54DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DDF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DDF#FFFFFF#000000##000000
##B54DDF1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#4880DC
Tritanopia (blue-blind)
#B26990
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b54ddf;
/* rgb */ color: rgb(181, 77, 223);
/* oklch */ color: oklch(61.7% 0.223 314.7);
Tailwind
colors: {
  custom: {
    50: '#cf86ea',
    500: '#b54ddf',
    950: '#000000',
  },
}
SCSS
$custom: #b54ddf;
$custom-light: #cf86ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ddf",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 282.74,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61704,
    "c": 0.22267,
    "h": 314.7
  },
  "luminance": 0.20459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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