#B954EA#B954EA

#B954EA is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.7% C 0.226 H 312.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B954EA
RGBrgb(185, 84, 234)
HSLhsl(280, 78%, 62%)
HSVhsv(280, 64%, 92%)
CMYKcmyk(20.9%, 64.1%, 0%, 8.2%)
CIE-LABlab(54.65, 63.88, -58.79)
CIE-LCHlch(54.65, 86.82, 317.38°)
OKLaboklab(63.68% 0.1532 -0.1655)
OKLCHoklch(63.68% 0.226 312.8)
XYZxyz(38.0266, 22.5965, 80.1844)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954EA #85EA54
analogous
#6E54EA #B954EA #EA54D0
triadic
#B954EA #EAB954 #54EAB9
tetradic
#B954EA #EA6E54 #85EA54 #54D0EA
square
#B954EA #EA6E54 #85EA54 #54D0EA
split-complementary
#B954EA #D0EA54 #54EA6E
monochromatic
#7C15AE #A31DE3 #B954EA #CF8BF1 #E6C1F7

Accessibility & contrast

On white

3.81
#B954EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B954EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954EA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954EA#FFFFFF#000000##000000
##B954EA1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEF
Deuteranopia (green-blind)
#4985E7
Tritanopia (blue-blind)
#B47198
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b954ea;
/* rgb */ color: rgb(185, 84, 234);
/* oklch */ color: oklch(63.7% 0.226 312.8);
Tailwind
colors: {
  custom: {
    50: '#d28af1',
    500: '#b954ea',
    950: '#000000',
  },
}
SCSS
$custom: #b954ea;
$custom-light: #d28af1;
$custom-dark: #000000;
JSON
{
  "hex": "#b954ea",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 280.4,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63683,
    "c": 0.2255,
    "h": 312.8
  },
  "luminance": 0.22595
}

Semantic roles & 50–950 ramp

primary
#B954EA
secondary
#C3E8B2
accent
#DA0B4F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B954EA

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

Preview Lab → · Contrast checker → · Palette generator →

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