#8950B2#8950B2

#8950B2 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.0% C 0.155 H 309.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8950B2
RGBrgb(137, 80, 178)
HSLhsl(275, 39%, 51%)
HSVhsv(275, 55%, 70%)
CMYKcmyk(23%, 55.1%, 0%, 30.2%)
CIE-LABlab(44.62, 42.04, -43.07)
CIE-LCHlch(44.62, 60.18, 314.31°)
OKLaboklab(54.03% 0.0978 -0.1209)
OKLCHoklch(54.03% 0.155 309)
XYZxyz(21.2195, 14.2704, 43.7475)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8950B2 #79B250
analogous
#5850B2 #8950B2 #B250AA
triadic
#8950B2 #B28950 #50B289
tetradic
#8950B2 #B25850 #79B250 #50AAB2
square
#8950B2 #B25850 #79B250 #50AAB2
split-complementary
#8950B2 #AAB250 #50B258
monochromatic
#48295E #693C89 #8950B2 #A67AC5 #C2A5D7

Accessibility & contrast

On white

5.45
#8950B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8950B2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8950B2#FFFFFF#000000##FFFFFF
##8950B21.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#456AB0
Tritanopia (blue-blind)
#836179
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8950b2;
/* rgb */ color: rgb(137, 80, 178);
/* oklch */ color: oklch(54.0% 0.155 309.0);
Tailwind
colors: {
  custom: {
    50: '#ae83c9',
    500: '#8950b2',
    950: '#000000',
  },
}
SCSS
$custom: #8950b2;
$custom-light: #ae83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8950b2",
  "rgb": {
    "r": 137,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 274.898,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54027,
    "c": 0.15548,
    "h": 309
  },
  "luminance": 0.1427
}

Semantic roles & 50–950 ramp

primary
#8950B2
secondary
#ABC599
accent
#CF598A
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8950B2

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

Preview Lab → · Contrast checker → · Palette generator →

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