#8950B1#8950B1

#8950B1 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.154 H 309.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8950B1
RGBrgb(137, 80, 177)
HSLhsl(275, 38%, 50%)
HSVhsv(275, 55%, 69%)
CMYKcmyk(22.6%, 54.8%, 0%, 30.6%)
CIE-LABlab(44.56, 41.80, -42.57)
CIE-LCHlch(44.56, 59.66, 314.48°)
OKLaboklab(53.97% 0.0977 -0.1194)
OKLCHoklch(53.97% 0.154 309.3)
XYZxyz(21.1195, 14.2304, 43.2206)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8950B1 #78B150
analogous
#5850B1 #8950B1 #B150A8
triadic
#8950B1 #B18950 #50B189
tetradic
#8950B1 #B15850 #78B150 #50A8B1
square
#8950B1 #B15850 #78B150 #50A8B1
split-complementary
#8950B1 #A8B150 #50B158
monochromatic
#48295D #683C87 #8950B1 #A67AC4 #C2A5D7

Accessibility & contrast

On white

5.46
#8950B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8950B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8950B1
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8950B1#FFFFFF#000000##FFFFFF
##8950B11.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B4
Deuteranopia (green-blind)
#466AAF
Tritanopia (blue-blind)
#846179
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8950b1;
/* rgb */ color: rgb(137, 80, 177);
/* oklch */ color: oklch(54.0% 0.154 309.3);
Tailwind
colors: {
  custom: {
    50: '#ae83c9',
    500: '#8950b1',
    950: '#000000',
  },
}
SCSS
$custom: #8950b1;
$custom-light: #ae83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8950b1",
  "rgb": {
    "r": 137,
    "g": 80,
    "b": 177
  },
  "hsl": {
    "h": 275.258,
    "s": 38.34,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53966,
    "c": 0.15432,
    "h": 309.3
  },
  "luminance": 0.1423
}

Semantic roles & 50–950 ramp

primary
#8950B1
secondary
#ABC499
accent
#CE5A8A
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8950B1

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

Preview Lab → · Contrast checker → · Palette generator →

#8950B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva