#B950F6#B950F6

#B950F6 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 64.0% C 0.242 H 310.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B950F6
RGBrgb(185, 80, 246)
HSLhsl(278, 90%, 64%)
HSVhsv(278, 67%, 96%)
CMYKcmyk(24.8%, 67.5%, 0%, 3.5%)
CIE-LABlab(54.77, 68.11, -65.31)
CIE-LCHlch(54.77, 94.37, 316.20°)
OKLaboklab(64% 0.1566 -0.1846)
OKLCHoklch(64% 0.242 310.3)
XYZxyz(39.5076, 22.7063, 89.4724)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B950F6 #8DF650
analogous
#6650F6 #B950F6 #F650E0
triadic
#B950F6 #F6B950 #50F6B9
tetradic
#B950F6 #F66650 #8DF650 #50E0F6
square
#B950F6 #F66650 #8DF650 #50E0F6
split-complementary
#B950F6 #E0F650 #50F666
monochromatic
#7E0AC2 #A216F3 #B950F6 #D08AF9 #E8C4FC

Accessibility & contrast

On white

3.79
#B950F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#B950F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B950F6
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B950F6#FFFFFF#000000##000000
##B950F61.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFB
Deuteranopia (green-blind)
#3685F2
Tritanopia (blue-blind)
#B1739D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b950f6;
/* rgb */ color: rgb(185, 80, 246);
/* oklch */ color: oklch(64.0% 0.242 310.3);
Tailwind
colors: {
  custom: {
    50: '#d388fa',
    500: '#b950f6',
    950: '#000000',
  },
}
SCSS
$custom: #b950f6;
$custom-light: #d388fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b950f6",
  "rgb": {
    "r": 185,
    "g": 80,
    "b": 246
  },
  "hsl": {
    "h": 277.952,
    "s": 90.217,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64002,
    "c": 0.2421,
    "h": 310.3
  },
  "luminance": 0.22705
}

Semantic roles & 50–950 ramp

primary
#B950F6
secondary
#C9EEB4
accent
#E60054
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B950F6

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

Preview Lab → · Contrast checker → · Palette generator →

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