#B54ECF#B54ECF

#B54ECF is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 60.9% C 0.206 H 319.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B54ECF
RGBrgb(181, 78, 207)
HSLhsl(288, 57%, 56%)
HSVhsv(288, 62%, 81%)
CMYKcmyk(12.6%, 62.3%, 0%, 18.8%)
CIE-LABlab(51.59, 60.25, -48.43)
CIE-LCHlch(51.59, 77.30, 321.20°)
OKLaboklab(60.85% 0.1557 -0.1353)
OKLCHoklch(60.85% 0.206 319)
XYZxyz(33.0415, 19.7790, 61.0967)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54ECF #68CF4E
analogous
#744ECF #B54ECF #CF4EA8
triadic
#B54ECF #CFB54E #4ECFB5
tetradic
#B54ECF #CF744E #68CF4E #4EA8CF
square
#B54ECF #CF744E #68CF4E #4EA8CF
split-complementary
#B54ECF #A8CF4E #4ECF74
monochromatic
#6D2380 #9630B0 #B54ECF #C97EDC #DDAEE9

Accessibility & contrast

On white

4.24
#B54ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B54ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54ECF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54ECF#FFFFFF#000000##000000
##B54ECF1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D3
Deuteranopia (green-blind)
#567ECC
Tritanopia (blue-blind)
#B56488
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54ecf;
/* rgb */ color: rgb(181, 78, 207);
/* oklch */ color: oklch(60.9% 0.206 319.0);
Tailwind
colors: {
  custom: {
    50: '#ce86de',
    500: '#b54ecf',
    950: '#000000',
  },
}
SCSS
$custom: #b54ecf;
$custom-light: #ce86de;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ecf",
  "rgb": {
    "r": 181,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 287.907,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60853,
    "c": 0.2063,
    "h": 319
  },
  "luminance": 0.19778
}

Semantic roles & 50–950 ramp

primary
#B54ECF
secondary
#ACD7A2
accent
#E14766
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B54ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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