#8950C5#8950C5

#8950C5 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.2% C 0.178 H 303.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8950C5
RGBrgb(137, 80, 197)
HSLhsl(269, 50%, 54%)
HSVhsv(269, 59%, 77%)
CMYKcmyk(30.5%, 59.4%, 0%, 22.7%)
CIE-LABlab(45.75, 46.58, -52.33)
CIE-LCHlch(45.75, 70.05, 311.67°)
OKLaboklab(55.22% 0.0982 -0.148)
OKLCHoklch(55.22% 0.178 303.6)
XYZxyz(23.2610, 15.0869, 54.4991)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8950C5 #8CC550
analogous
#5052C5 #8950C5 #C450C5
triadic
#8950C5 #C58950 #50C589
tetradic
#8950C5 #C55052 #8CC550 #50C5C4
square
#8950C5 #C55052 #8CC550 #50C5C4
split-complementary
#8950C5 #C5C450 #52C550
monochromatic
#4C2674 #6B36A2 #8950C5 #A87ED4 #C7ACE3

Accessibility & contrast

On white

5.23
#8950C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8950C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8950C5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8950C5#FFFFFF#000000##FFFFFF
##8950C51.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166BC9
Deuteranopia (green-blind)
#336CC2
Tritanopia (blue-blind)
#7E6883
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8950c5;
/* rgb */ color: rgb(137, 80, 197);
/* oklch */ color: oklch(55.2% 0.178 303.6);
Tailwind
colors: {
  custom: {
    50: '#af84d7',
    500: '#8950c5',
    950: '#000000',
  },
}
SCSS
$custom: #8950c5;
$custom-light: #af84d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8950c5",
  "rgb": {
    "r": 137,
    "g": 80,
    "b": 197
  },
  "hsl": {
    "h": 269.231,
    "s": 50.215,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55224,
    "c": 0.17761,
    "h": 303.6
  },
  "luminance": 0.15087
}

Semantic roles & 50–950 ramp

primary
#8950C5
secondary
#B9D1A0
accent
#DA4E96
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8950C5

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

Preview Lab → · Contrast checker → · Palette generator →

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