#B954E5#B954E5

#B954E5 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.4% C 0.221 H 314.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B954E5
RGBrgb(185, 84, 229)
HSLhsl(282, 74%, 61%)
HSVhsv(282, 63%, 90%)
CMYKcmyk(19.2%, 63.3%, 0%, 10.2%)
CIE-LABlab(54.36, 62.86, -56.46)
CIE-LCHlch(54.36, 84.49, 318.07°)
OKLaboklab(63.37% 0.1533 -0.1587)
OKLCHoklch(63.37% 0.221 314)
XYZxyz(37.3184, 22.3132, 76.4546)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954E5 #80E554
analogous
#7154E5 #B954E5 #E554C9
triadic
#B954E5 #E5B954 #54E5B9
tetradic
#B954E5 #E57154 #80E554 #54C9E5
square
#B954E5 #E57154 #80E554 #54C9E5
split-complementary
#B954E5 #C9E554 #54E571
monochromatic
#7B19A5 #A221DB #B954E5 #CF89ED #E4BEF5

Accessibility & contrast

On white

3.84
#B954E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#B954E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954E5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954E5#FFFFFF#000000##000000
##B954E51.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#137CE9
Deuteranopia (green-blind)
#4E85E2
Tritanopia (blue-blind)
#B56F95
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b954e5;
/* rgb */ color: rgb(185, 84, 229);
/* oklch */ color: oklch(63.4% 0.221 314.0);
Tailwind
colors: {
  custom: {
    50: '#d28aee',
    500: '#b954e5',
    950: '#000000',
  },
}
SCSS
$custom: #b954e5;
$custom-light: #d28aee;
$custom-dark: #000000;
JSON
{
  "hex": "#b954e5",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 281.793,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63374,
    "c": 0.22066,
    "h": 314
  },
  "luminance": 0.22312
}

Semantic roles & 50–950 ramp

primary
#B954E5
secondary
#C0E6AF
accent
#D6104C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B954E5

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

Preview Lab → · Contrast checker → · Palette generator →

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