#B951EF#B951EF

#B951EF is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.7% C 0.234 H 311.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B951EF
RGBrgb(185, 81, 239)
HSLhsl(279, 83%, 63%)
HSVhsv(279, 66%, 94%)
CMYKcmyk(22.6%, 66.1%, 0%, 6.3%)
CIE-LABlab(54.48, 66.23, -61.87)
CIE-LCHlch(54.48, 90.63, 316.95°)
OKLaboklab(63.66% 0.1561 -0.1745)
OKLCHoklch(63.66% 0.234 311.8)
XYZxyz(38.5271, 22.4321, 83.9449)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951EF #87EF51
analogous
#6A51EF #B951EF #EF51D6
triadic
#B951EF #EFB951 #51EFB9
tetradic
#B951EF #EF6A51 #87EF51 #51D6EF
square
#B951EF #EF6A51 #87EF51 #51D6EF
split-complementary
#B951EF #D6EF51 #51EF6A
monochromatic
#7D11B5 #A219EA #B951EF #D089F4 #E6C1F9

Accessibility & contrast

On white

3.83
#B951EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#B951EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951EF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951EF#FFFFFF#000000##000000
##B951EF1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#4184EB
Tritanopia (blue-blind)
#B3719A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b951ef;
/* rgb */ color: rgb(185, 81, 239);
/* oklch */ color: oklch(63.7% 0.234 311.8);
Tailwind
colors: {
  custom: {
    50: '#d289f5',
    500: '#b951ef',
    950: '#000000',
  },
}
SCSS
$custom: #b951ef;
$custom-light: #d289f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b951ef",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 239
  },
  "hsl": {
    "h": 279.494,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63657,
    "c": 0.23418,
    "h": 311.8
  },
  "luminance": 0.22431
}

Semantic roles & 50–950 ramp

primary
#B951EF
secondary
#C5EAB1
accent
#E00650
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #B951EF

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

Preview Lab → · Contrast checker → · Palette generator →

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