#B951E5#B951E5

#B951E5 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.0% C 0.225 H 314.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B951E5
RGBrgb(185, 81, 229)
HSLhsl(282, 74%, 61%)
HSVhsv(282, 65%, 90%)
CMYKcmyk(19.2%, 64.6%, 0%, 10.2%)
CIE-LABlab(53.88, 64.19, -57.23)
CIE-LCHlch(53.88, 86.00, 318.28°)
OKLaboklab(63.03% 0.1567 -0.1609)
OKLCHoklch(63.03% 0.225 314.2)
XYZxyz(37.0905, 21.8575, 76.3786)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951E5 #7DE551
analogous
#6F51E5 #B951E5 #E551C7
triadic
#B951E5 #E5B951 #51E5B9
tetradic
#B951E5 #E56F51 #7DE551 #51C7E5
square
#B951E5 #E56F51 #7DE551 #51C7E5
split-complementary
#B951E5 #C7E551 #51E56F
monochromatic
#7A18A3 #A220D8 #B951E5 #CE86ED #E4BBF5

Accessibility & contrast

On white

3.91
#B951E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#B951E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951E5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951E5#FFFFFF#000000##000000
##B951E51.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BE9
Deuteranopia (green-blind)
#4B83E2
Tritanopia (blue-blind)
#B56D94
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b951e5;
/* rgb */ color: rgb(185, 81, 229);
/* oklch */ color: oklch(63.0% 0.225 314.2);
Tailwind
colors: {
  custom: {
    50: '#d288ee',
    500: '#b951e5',
    950: '#000000',
  },
}
SCSS
$custom: #b951e5;
$custom-light: #d288ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b951e5",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 282.162,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63026,
    "c": 0.22463,
    "h": 314.2
  },
  "luminance": 0.21856
}

Semantic roles & 50–950 ramp

primary
#B951E5
secondary
#BEE5AD
accent
#D60F4A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B951E5

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

Preview Lab → · Contrast checker → · Palette generator →

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