#B950D4#B950D4

#B950D4 is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.9% C 0.210 H 318.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B950D4
RGBrgb(185, 80, 212)
HSLhsl(288, 61%, 57%)
HSVhsv(288, 62%, 83%)
CMYKcmyk(12.7%, 62.3%, 0%, 16.9%)
CIE-LABlab(52.74, 61.27, -49.42)
CIE-LCHlch(52.74, 78.72, 321.11°)
OKLaboklab(61.89% 0.1582 -0.1381)
OKLCHoklch(61.89% 0.21 318.9)
XYZxyz(34.7583, 20.8066, 64.4598)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B950D4 #6BD450
analogous
#7750D4 #B950D4 #D450AD
triadic
#B950D4 #D4B950 #50D4B9
tetradic
#B950D4 #D47750 #6BD450 #50ADD4
square
#B950D4 #D47750 #6BD450 #50ADD4
split-complementary
#B950D4 #ADD450 #50D477
monochromatic
#732188 #9D2EB9 #B950D4 #CD81E0 #E0B2EC

Accessibility & contrast

On white

4.07
#B950D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#B950D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B950D4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B950D4#FFFFFF#000000##000000
##B950D41.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A77D8
Deuteranopia (green-blind)
#5881D1
Tritanopia (blue-blind)
#B9668B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b950d4;
/* rgb */ color: rgb(185, 80, 212);
/* oklch */ color: oklch(61.9% 0.210 318.9);
Tailwind
colors: {
  custom: {
    50: '#d187e2',
    500: '#b950d4',
    950: '#000000',
  },
}
SCSS
$custom: #b950d4;
$custom-light: #d187e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b950d4",
  "rgb": {
    "r": 185,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 287.727,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61889,
    "c": 0.20996,
    "h": 318.9
  },
  "luminance": 0.20805
}

Semantic roles & 50–950 ramp

primary
#B950D4
secondary
#B0DBA5
accent
#E44465
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B950D4

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

Preview Lab → · Contrast checker → · Palette generator →

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