#8950BF#8950BF

#8950BF is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.171 H 305.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8950BF
RGBrgb(137, 80, 191)
HSLhsl(271, 46%, 53%)
HSVhsv(271, 58%, 75%)
CMYKcmyk(28.3%, 58.1%, 0%, 25.1%)
CIE-LABlab(45.38, 45.12, -49.44)
CIE-LCHlch(45.38, 66.93, 312.38°)
OKLaboklab(54.83% 0.0982 -0.1395)
OKLCHoklch(54.83% 0.171 305.1)
XYZxyz(22.5871, 14.8174, 50.9502)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8950BF #86BF50
analogous
#5150BF #8950BF #BF50BD
triadic
#8950BF #BF8950 #50BF89
tetradic
#8950BF #BF5150 #86BF50 #50BDBF
square
#8950BF #BF5150 #86BF50 #50BDBF
split-complementary
#8950BF #BDBF50 #50BF51
monochromatic
#4B286D #6A389A #8950BF #A77DCF #C5AAE0

Accessibility & contrast

On white

5.30
#8950BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8950BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8950BF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8950BF#FFFFFF#000000##FFFFFF
##8950BF1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226AC3
Deuteranopia (green-blind)
#3A6CBC
Tritanopia (blue-blind)
#806680
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8950bf;
/* rgb */ color: rgb(137, 80, 191);
/* oklch */ color: oklch(54.8% 0.171 305.1);
Tailwind
colors: {
  custom: {
    50: '#af83d3',
    500: '#8950bf',
    950: '#000000',
  },
}
SCSS
$custom: #8950bf;
$custom-light: #af83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8950bf",
  "rgb": {
    "r": 137,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 270.811,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54834,
    "c": 0.17064,
    "h": 305.1
  },
  "luminance": 0.14817
}

Semantic roles & 50–950 ramp

primary
#8950BF
secondary
#B5CD9D
accent
#D65292
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8950BF

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

Preview Lab → · Contrast checker → · Palette generator →

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