#8950C7#8950C7

#8950C7 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.4% C 0.180 H 303.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8950C7
RGBrgb(137, 80, 199)
HSLhsl(269, 52%, 55%)
HSVhsv(269, 60%, 78%)
CMYKcmyk(31.2%, 59.8%, 0%, 22%)
CIE-LABlab(45.88, 47.06, -53.28)
CIE-LCHlch(45.88, 71.09, 311.45°)
OKLaboklab(55.36% 0.0981 -0.1508)
OKLCHoklch(55.36% 0.18 303.1)
XYZxyz(23.4916, 15.1792, 55.7140)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8950C7 #8EC750
analogous
#5053C7 #8950C7 #C450C7
triadic
#8950C7 #C78950 #50C789
tetradic
#8950C7 #C75053 #8EC750 #50C7C4
square
#8950C7 #C75053 #8EC750 #50C7C4
split-complementary
#8950C7 #C7C450 #53C750
monochromatic
#4D2677 #6B35A5 #8950C7 #A87ED6 #C8ADE5

Accessibility & contrast

On white

5.20
#8950C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8950C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8950C7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8950C7#FFFFFF#000000##FFFFFF
##8950C71.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116BCB
Deuteranopia (green-blind)
#316CC4
Tritanopia (blue-blind)
#7D6884
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8950c7;
/* rgb */ color: rgb(137, 80, 199);
/* oklch */ color: oklch(55.4% 0.180 303.1);
Tailwind
colors: {
  custom: {
    50: '#af84d9',
    500: '#8950c7',
    950: '#000000',
  },
}
SCSS
$custom: #8950c7;
$custom-light: #af84d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8950c7",
  "rgb": {
    "r": 137,
    "g": 80,
    "b": 199
  },
  "hsl": {
    "h": 268.739,
    "s": 51.515,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55355,
    "c": 0.17994,
    "h": 303.1
  },
  "luminance": 0.15179
}

Semantic roles & 50–950 ramp

primary
#8950C7
secondary
#BAD2A0
accent
#DB4D97
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83

Preview Lab

Preview with #8950C7

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

Preview Lab → · Contrast checker → · Palette generator →

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