#B951E6#B951E6

#B951E6 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.1% C 0.226 H 314.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B951E6
RGBrgb(185, 81, 230)
HSLhsl(282, 75%, 61%)
HSVhsv(282, 65%, 90%)
CMYKcmyk(19.6%, 64.8%, 0%, 9.8%)
CIE-LABlab(53.94, 64.39, -57.70)
CIE-LCHlch(53.94, 86.46, 318.14°)
OKLaboklab(63.09% 0.1567 -0.1623)
OKLCHoklch(63.09% 0.226 314)
XYZxyz(37.2305, 21.9135, 77.1161)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951E6 #7EE651
analogous
#6E51E6 #B951E6 #E651C8
triadic
#B951E6 #E6B951 #51E6B9
tetradic
#B951E6 #E66E51 #7EE651 #51C8E6
square
#B951E6 #E66E51 #7EE651 #51C8E6
split-complementary
#B951E6 #C8E651 #51E66E
monochromatic
#7A18A5 #A21FDA #B951E6 #CF87EE #E4BCF5

Accessibility & contrast

On white

3.90
#B951E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#B951E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951E6
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951E6#FFFFFF#000000##000000
##B951E61.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#4A83E3
Tritanopia (blue-blind)
#B56E95
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b951e6;
/* rgb */ color: rgb(185, 81, 230);
/* oklch */ color: oklch(63.1% 0.226 314.0);
Tailwind
colors: {
  custom: {
    50: '#d289ef',
    500: '#b951e6',
    950: '#000000',
  },
}
SCSS
$custom: #b951e6;
$custom-light: #d289ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b951e6",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 281.879,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63088,
    "c": 0.22558,
    "h": 314
  },
  "luminance": 0.21912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B951E6

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

Preview Lab → · Contrast checker → · Palette generator →

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