#B954E1#B954E1

#B954E1 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.1% C 0.217 H 315.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B954E1
RGBrgb(185, 84, 225)
HSLhsl(283, 70%, 61%)
HSVhsv(283, 63%, 88%)
CMYKcmyk(17.8%, 62.7%, 0%, 11.8%)
CIE-LABlab(54.12, 62.05, -54.58)
CIE-LCHlch(54.12, 82.64, 318.67°)
OKLaboklab(63.13% 0.1534 -0.1532)
OKLCHoklch(63.13% 0.217 315)
XYZxyz(36.7663, 22.0924, 73.5471)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954E1 #7CE154
analogous
#7254E1 #B954E1 #E154C2
triadic
#B954E1 #E1B954 #54E1B9
tetradic
#B954E1 #E17254 #7CE154 #54C2E1
square
#B954E1 #E17254 #7CE154 #54C2E1
split-complementary
#B954E1 #C2E154 #54E172
monochromatic
#7A1C9F #A225D3 #B954E1 #CE88EA #E4BCF3

Accessibility & contrast

On white

3.88
#B954E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#B954E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954E1
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954E1#FFFFFF#000000##000000
##B954E11.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7CE5
Deuteranopia (green-blind)
#5184DE
Tritanopia (blue-blind)
#B66E93
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b954e1;
/* rgb */ color: rgb(185, 84, 225);
/* oklch */ color: oklch(63.1% 0.217 315.0);
Tailwind
colors: {
  custom: {
    50: '#d18aeb',
    500: '#b954e1',
    950: '#000000',
  },
}
SCSS
$custom: #b954e1;
$custom-light: #d18aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#b954e1",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 282.979,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63131,
    "c": 0.21681,
    "h": 315
  },
  "luminance": 0.22091
}

Semantic roles & 50–950 ramp

primary
#B954E1
secondary
#BDE3AE
accent
#D21349
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B954E1

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

Preview Lab → · Contrast checker → · Palette generator →

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