#B951E3#B951E3

#B951E3 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 62.9% C 0.223 H 314.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B951E3
RGBrgb(185, 81, 227)
HSLhsl(283, 72%, 60%)
HSVhsv(283, 64%, 89%)
CMYKcmyk(18.5%, 64.3%, 0%, 11%)
CIE-LABlab(53.76, 63.79, -56.29)
CIE-LCHlch(53.76, 85.08, 318.57°)
OKLaboklab(62.9% 0.1568 -0.1582)
OKLCHoklch(62.9% 0.223 314.7)
XYZxyz(36.8129, 21.7464, 74.9164)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951E3 #7BE351
analogous
#7051E3 #B951E3 #E351C4
triadic
#B951E3 #E3B951 #51E3B9
tetradic
#B951E3 #E37051 #7BE351 #51C4E3
square
#B951E3 #E37051 #7BE351 #51C4E3
split-complementary
#B951E3 #C4E351 #51E370
monochromatic
#791AA0 #A122D5 #B951E3 #CE86EB #E3BAF4

Accessibility & contrast

On white

3.93
#B951E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B951E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951E3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951E3#FFFFFF#000000##000000
##B951E31.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A7BE7
Deuteranopia (green-blind)
#4D83E0
Tritanopia (blue-blind)
#B66D93
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b951e3;
/* rgb */ color: rgb(185, 81, 227);
/* oklch */ color: oklch(62.9% 0.223 314.7);
Tailwind
colors: {
  custom: {
    50: '#d288ec',
    500: '#b951e3',
    950: '#000000',
  },
}
SCSS
$custom: #b951e3;
$custom-light: #d288ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b951e3",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 227
  },
  "hsl": {
    "h": 282.74,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62903,
    "c": 0.22273,
    "h": 314.7
  },
  "luminance": 0.21745
}

Semantic roles & 50–950 ramp

primary
#B951E3
secondary
#BCE4AC
accent
#D41149
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B951E3

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

Preview Lab → · Contrast checker → · Palette generator →

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