#B950E2#B950E2

#B950E2 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.7% C 0.223 H 315.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B950E2
RGBrgb(185, 80, 226)
HSLhsl(283, 72%, 60%)
HSVhsv(283, 65%, 89%)
CMYKcmyk(18.1%, 64.6%, 0%, 11.4%)
CIE-LABlab(53.54, 64.03, -56.08)
CIE-LCHlch(53.54, 85.11, 318.79°)
OKLaboklab(62.73% 0.158 -0.1575)
OKLCHoklch(62.73% 0.223 315.1)
XYZxyz(36.6015, 21.5438, 74.1671)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B950E2 #79E250
analogous
#7050E2 #B950E2 #E250C2
triadic
#B950E2 #E2B950 #50E2B9
tetradic
#B950E2 #E27050 #79E250 #50C2E2
square
#B950E2 #E27050 #79E250 #50C2E2
split-complementary
#B950E2 #C2E250 #50E270
monochromatic
#791A9E #A123D2 #B950E2 #CE84EB #E3B9F3

Accessibility & contrast

On white

3.96
#B950E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B950E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B950E2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B950E2#FFFFFF#000000##000000
##B950E21.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#087AE6
Deuteranopia (green-blind)
#4D83DF
Tritanopia (blue-blind)
#B66C92
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b950e2;
/* rgb */ color: rgb(185, 80, 226);
/* oklch */ color: oklch(62.7% 0.223 315.1);
Tailwind
colors: {
  custom: {
    50: '#d288ec',
    500: '#b950e2',
    950: '#000000',
  },
}
SCSS
$custom: #b950e2;
$custom-light: #d288ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b950e2",
  "rgb": {
    "r": 185,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 283.151,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.62727,
    "c": 0.22309,
    "h": 315.1
  },
  "luminance": 0.21543
}

Semantic roles & 50–950 ramp

primary
#B950E2
secondary
#BBE3AB
accent
#EE396C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B950E2

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

Preview Lab → · Contrast checker → · Palette generator →

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