#8950BA#8950BA

#8950BA is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.5% C 0.165 H 306.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8950BA
RGBrgb(137, 80, 186)
HSLhsl(272, 43%, 52%)
HSVhsv(272, 57%, 73%)
CMYKcmyk(26.3%, 57%, 0%, 27.1%)
CIE-LABlab(45.08, 43.92, -47.01)
CIE-LCHlch(45.08, 64.33, 313.06°)
OKLaboklab(54.52% 0.0981 -0.1324)
OKLCHoklch(54.52% 0.165 306.5)
XYZxyz(22.0463, 14.6011, 48.1017)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8950BA #81BA50
analogous
#5450BA #8950BA #BA50B6
triadic
#8950BA #BA8950 #50BA89
tetradic
#8950BA #BA5450 #81BA50 #50B6BA
square
#8950BA #BA5450 #81BA50 #50B6BA
split-complementary
#8950BA #B6BA50 #50BA54
monochromatic
#4A2967 #6A3A93 #8950BA #A77CCB #C4A8DD

Accessibility & contrast

On white

5.36
#8950BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8950BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8950BA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8950BA#FFFFFF#000000##FFFFFF
##8950BA1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BD
Deuteranopia (green-blind)
#3F6BB7
Tritanopia (blue-blind)
#81647D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8950ba;
/* rgb */ color: rgb(137, 80, 186);
/* oklch */ color: oklch(54.5% 0.165 306.5);
Tailwind
colors: {
  custom: {
    50: '#ae83cf',
    500: '#8950ba',
    950: '#000000',
  },
}
SCSS
$custom: #8950ba;
$custom-light: #ae83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8950ba",
  "rgb": {
    "r": 137,
    "g": 80,
    "b": 186
  },
  "hsl": {
    "h": 272.264,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54518,
    "c": 0.1648,
    "h": 306.5
  },
  "luminance": 0.14601
}

Semantic roles & 50–950 ramp

primary
#8950BA
secondary
#B1CA9C
accent
#D3558F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8950BA

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

Preview Lab → · Contrast checker → · Palette generator →

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