#B951F0#B951F0

#B951F0 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.7% C 0.235 H 311.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B951F0
RGBrgb(185, 81, 240)
HSLhsl(279, 84%, 63%)
HSVhsv(279, 66%, 94%)
CMYKcmyk(22.9%, 66.3%, 0%, 5.9%)
CIE-LABlab(54.54, 66.44, -62.33)
CIE-LCHlch(54.54, 91.10, 316.83°)
OKLaboklab(63.72% 0.1561 -0.1759)
OKLCHoklch(63.72% 0.235 311.6)
XYZxyz(38.6753, 22.4914, 84.7251)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951F0 #88F051
analogous
#6951F0 #B951F0 #F051D8
triadic
#B951F0 #F0B951 #51F0B9
tetradic
#B951F0 #F06951 #88F051 #51D8F0
square
#B951F0 #F06951 #88F051 #51D8F0
split-complementary
#B951F0 #D8F051 #51F069
monochromatic
#7D10B7 #A219EB #B951F0 #D089F5 #E6C2FA

Accessibility & contrast

On white

3.82
#B951F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#B951F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951F0
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951F0#FFFFFF#000000##000000
##B951F01.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF5
Deuteranopia (green-blind)
#3F84EC
Tritanopia (blue-blind)
#B2729A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b951f0;
/* rgb */ color: rgb(185, 81, 240);
/* oklch */ color: oklch(63.7% 0.235 311.6);
Tailwind
colors: {
  custom: {
    50: '#d289f6',
    500: '#b951f0',
    950: '#000000',
  },
}
SCSS
$custom: #b951f0;
$custom-light: #d289f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b951f0",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 240
  },
  "hsl": {
    "h": 279.245,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63721,
    "c": 0.23514,
    "h": 311.6
  },
  "luminance": 0.2249
}

Semantic roles & 50–950 ramp

primary
#B951F0
secondary
#C6EBB2
accent
#E10551
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B951F0

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

Preview Lab → · Contrast checker → · Palette generator →

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