#B950FB#B950FB

#B950FB is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 64.3% C 0.247 H 309.2°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B950FB
RGBrgb(185, 80, 251)
HSLhsl(277, 96%, 65%)
HSVhsv(277, 68%, 98%)
CMYKcmyk(26.3%, 68.1%, 0%, 1.6%)
CIE-LABlab(55.09, 69.16, -67.58)
CIE-LCHlch(55.09, 96.69, 315.66°)
OKLaboklab(64.33% 0.1561 -0.1913)
OKLCHoklch(64.33% 0.247 309.2)
XYZxyz(40.2853, 23.0174, 93.5687)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B950FB #92FB50
analogous
#6350FB #B950FB #FB50E8
triadic
#B950FB #FBB950 #50FBB9
tetradic
#B950FB #FB6350 #92FB50 #50E8FB
square
#B950FB #FB6350 #92FB50 #50E8FB
split-complementary
#B950FB #E8FB50 #50FB63
monochromatic
#7F05CC #A114FA #B950FB #D18CFC #E9C8FE

Accessibility & contrast

On white

3.75
#B950FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#B950FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B950FB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B950FB#FFFFFF#000000##000000
##B950FB1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#2E85F7
Tritanopia (blue-blind)
#AF75A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b950fb;
/* rgb */ color: rgb(185, 80, 251);
/* oklch */ color: oklch(64.3% 0.247 309.2);
Tailwind
colors: {
  custom: {
    50: '#d389fe',
    500: '#b950fb',
    950: '#000000',
  },
}
SCSS
$custom: #b950fb;
$custom-light: #d389fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b950fb",
  "rgb": {
    "r": 185,
    "g": 80,
    "b": 251
  },
  "hsl": {
    "h": 276.842,
    "s": 95.531,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64334,
    "c": 0.24687,
    "h": 309.2
  },
  "luminance": 0.23017
}

Semantic roles & 50–950 ramp

primary
#B950FB
secondary
#CDF1B6
accent
#E60059
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B950FB

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

Preview Lab → · Contrast checker → · Palette generator →

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