#B54CE7#B54CE7

#B54CE7 is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.1% C 0.231 H 312.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B54CE7
RGBrgb(181, 76, 231)
HSLhsl(281, 76%, 60%)
HSVhsv(281, 67%, 91%)
CMYKcmyk(21.6%, 67.1%, 0%, 9.4%)
CIE-LABlab(52.69, 65.90, -60.29)
CIE-LCHlch(52.69, 89.31, 317.54°)
OKLaboklab(62.1% 0.1571 -0.17)
OKLCHoklch(62.1% 0.231 312.7)
XYZxyz(36.0617, 20.7632, 77.6939)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CE7 #7EE74C
analogous
#674CE7 #B54CE7 #E74CCC
triadic
#B54CE7 #E7B54C #4CE7B5
tetradic
#B54CE7 #E7674C #7EE74C #4CCCE7
square
#B54CE7 #E7674C #7EE74C #4CCCE7
split-complementary
#B54CE7 #CCE74C #4CE767
monochromatic
#7516A3 #9C1DD9 #B54CE7 #CB82EE #E2B8F5

Accessibility & contrast

On white

4.08
#B54CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#B54CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CE7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CE7#FFFFFF#000000##000000
##B54CE71.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#3F80E3
Tritanopia (blue-blind)
#B06C94
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b54ce7;
/* rgb */ color: rgb(181, 76, 231);
/* oklch */ color: oklch(62.1% 0.231 312.7);
Tailwind
colors: {
  custom: {
    50: '#cf85ef',
    500: '#b54ce7',
    950: '#000000',
  },
}
SCSS
$custom: #b54ce7;
$custom-light: #cf85ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ce7",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 280.645,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62102,
    "c": 0.23149,
    "h": 312.7
  },
  "luminance": 0.20762
}

Semantic roles & 50–950 ramp

primary
#B54CE7
secondary
#BDE5AA
accent
#D90D4F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B54CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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