#B950F3#B950F3

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

Color values

HEX#B950F3
RGBrgb(185, 80, 243)
HSLhsl(279, 87%, 63%)
HSVhsv(279, 67%, 95%)
CMYKcmyk(23.9%, 67.1%, 0%, 4.7%)
CIE-LABlab(54.58, 67.49, -63.95)
CIE-LCHlch(54.58, 92.98, 316.54°)
OKLaboklab(63.81% 0.1569 -0.1806)
OKLCHoklch(63.81% 0.239 311)
XYZxyz(39.0508, 22.5236, 87.0670)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B950F3 #8AF350
analogous
#6750F3 #B950F3 #F350DC
triadic
#B950F3 #F3B950 #50F3B9
tetradic
#B950F3 #F36750 #8AF350 #50DCF3
square
#B950F3 #F36750 #8AF350 #50DCF3
split-complementary
#B950F3 #DCF350 #50F367
monochromatic
#7E0DBC #A217EF #B950F3 #D089F7 #E7C3FB

Accessibility & contrast

On white

3.81
#B950F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B950F3#FFFFFF#000000##000000
##B950F31.003.815.505.50
#FFFFFF3.811.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF8
Deuteranopia (green-blind)
#3A84EF
Tritanopia (blue-blind)
#B2729C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b950f3;
/* rgb */ color: rgb(185, 80, 243);
/* oklch */ color: oklch(63.8% 0.239 311.0);
Tailwind
colors: {
  custom: {
    50: '#d288f8',
    500: '#b950f3',
    950: '#000000',
  },
}
SCSS
$custom: #b950f3;
$custom-light: #d288f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b950f3",
  "rgb": {
    "r": 185,
    "g": 80,
    "b": 243
  },
  "hsl": {
    "h": 278.65,
    "s": 87.166,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63805,
    "c": 0.23924,
    "h": 311
  },
  "luminance": 0.22523
}

Semantic roles & 50–950 ramp

primary
#B950F3
secondary
#C7ECB2
accent
#E40252
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B950F3

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

Preview Lab → · Contrast checker → · Palette generator →

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