#B950F0#B950F0

#B950F0 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.6% C 0.236 H 311.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B950F0
RGBrgb(185, 80, 240)
HSLhsl(279, 84%, 63%)
HSVhsv(279, 67%, 94%)
CMYKcmyk(22.9%, 66.7%, 0%, 5.9%)
CIE-LABlab(54.39, 66.87, -62.58)
CIE-LCHlch(54.39, 91.58, 316.90°)
OKLaboklab(63.61% 0.1571 -0.1766)
OKLCHoklch(63.61% 0.236 311.7)
XYZxyz(38.6015, 22.3439, 84.7005)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B950F0 #87F050
analogous
#6950F0 #B950F0 #F050D7
triadic
#B950F0 #F0B950 #50F0B9
tetradic
#B950F0 #F06950 #87F050 #50D7F0
square
#B950F0 #F06950 #87F050 #50D7F0
split-complementary
#B950F0 #D7F050 #50F069
monochromatic
#7D10B6 #A218EB #B950F0 #D088F5 #E6C1FA

Accessibility & contrast

On white

3.84
#B950F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#B950F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B950F0
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B950F0#FFFFFF#000000##000000
##B950F01.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b950f0;
/* rgb */ color: rgb(185, 80, 240);
/* oklch */ color: oklch(63.6% 0.236 311.7);
Tailwind
colors: {
  custom: {
    50: '#d288f6',
    500: '#b950f0',
    950: '#000000',
  },
}
SCSS
$custom: #b950f0;
$custom-light: #d288f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b950f0",
  "rgb": {
    "r": 185,
    "g": 80,
    "b": 240
  },
  "hsl": {
    "h": 279.375,
    "s": 84.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6361,
    "c": 0.23638,
    "h": 311.7
  },
  "luminance": 0.22343
}

Semantic roles & 50–950 ramp

primary
#B950F0
secondary
#C5EBB1
accent
#E10550
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B950F0

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

Preview Lab → · Contrast checker → · Palette generator →

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