#B954E9#B954E9

#B954E9 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.6% C 0.225 H 313.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B954E9
RGBrgb(185, 84, 233)
HSLhsl(281, 77%, 62%)
HSVhsv(281, 64%, 91%)
CMYKcmyk(20.6%, 63.9%, 0%, 8.6%)
CIE-LABlab(54.59, 63.68, -58.33)
CIE-LCHlch(54.59, 86.35, 317.51°)
OKLaboklab(63.62% 0.1532 -0.1642)
OKLCHoklch(63.62% 0.225 313)
XYZxyz(37.8833, 22.5392, 79.4299)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954E9 #84E954
analogous
#6F54E9 #B954E9 #E954CF
triadic
#B954E9 #E9B954 #54E9B9
tetradic
#B954E9 #E96F54 #84E954 #54CFE9
square
#B954E9 #E96F54 #84E954 #54CFE9
split-complementary
#B954E9 #CFE954 #54E96F
monochromatic
#7C16AC #A31EE2 #B954E9 #CF8AF0 #E5C0F7

Accessibility & contrast

On white

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

On black

5.51
#B954E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954E9
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954E9#FFFFFF#000000##000000
##B954E91.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#017DEE
Deuteranopia (green-blind)
#4A85E6
Tritanopia (blue-blind)
#B47197
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b954e9;
/* rgb */ color: rgb(185, 84, 233);
/* oklch */ color: oklch(63.6% 0.225 313.0);
Tailwind
colors: {
  custom: {
    50: '#d28af1',
    500: '#b954e9',
    950: '#000000',
  },
}
SCSS
$custom: #b954e9;
$custom-light: #d28af1;
$custom-dark: #000000;
JSON
{
  "hex": "#b954e9",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 280.671,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63621,
    "c": 0.22453,
    "h": 313
  },
  "luminance": 0.22538
}

Semantic roles & 50–950 ramp

primary
#B954E9
secondary
#C3E8B1
accent
#D90C4E
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B954E9

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

Preview Lab → · Contrast checker → · Palette generator →

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