#B950D2#B950D2

#B950D2 is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.8% C 0.208 H 319.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B950D2
RGBrgb(185, 80, 210)
HSLhsl(288, 59%, 57%)
HSVhsv(288, 62%, 82%)
CMYKcmyk(11.9%, 61.9%, 0%, 17.6%)
CIE-LABlab(52.63, 60.89, -48.46)
CIE-LCHlch(52.63, 77.82, 321.49°)
OKLaboklab(61.77% 0.1581 -0.1353)
OKLCHoklch(61.77% 0.208 319.5)
XYZxyz(34.5076, 20.7063, 63.1393)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B950D2 #69D250
analogous
#7850D2 #B950D2 #D250AA
triadic
#B950D2 #D2B950 #50D2B9
tetradic
#B950D2 #D27850 #69D250 #50AAD2
square
#B950D2 #D27850 #69D250 #50AAD2
split-complementary
#B950D2 #AAD250 #50D278
monochromatic
#722285 #9C2FB6 #B950D2 #CC81DF #E0B1EB

Accessibility & contrast

On white

4.08
#B950D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B950D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B950D2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B950D2#FFFFFF#000000##000000
##B950D21.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D76D6
Deuteranopia (green-blind)
#5981CF
Tritanopia (blue-blind)
#B9668A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b950d2;
/* rgb */ color: rgb(185, 80, 210);
/* oklch */ color: oklch(61.8% 0.208 319.5);
Tailwind
colors: {
  custom: {
    50: '#d187e0',
    500: '#b950d2',
    950: '#000000',
  },
}
SCSS
$custom: #b950d2;
$custom-light: #d187e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b950d2",
  "rgb": {
    "r": 185,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 288.462,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61774,
    "c": 0.2081,
    "h": 319.5
  },
  "luminance": 0.20705
}

Semantic roles & 50–950 ramp

primary
#B950D2
secondary
#AFD9A4
accent
#E24664
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B950D2

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

Preview Lab → · Contrast checker → · Palette generator →

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