#8950C8#8950C8

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

Color values

HEX#8950C8
RGBrgb(137, 80, 200)
HSLhsl(269, 52%, 55%)
HSVhsv(269, 60%, 78%)
CMYKcmyk(31.5%, 60%, 0%, 21.6%)
CIE-LABlab(45.94, 47.31, -53.76)
CIE-LCHlch(45.94, 71.61, 311.35°)
OKLaboklab(55.42% 0.0981 -0.1522)
OKLCHoklch(55.42% 0.181 302.8)
XYZxyz(23.6081, 15.2258, 56.3275)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8950C8 #8FC850
analogous
#5053C8 #8950C8 #C550C8
triadic
#8950C8 #C88950 #50C889
tetradic
#8950C8 #C85053 #8FC850 #50C8C5
square
#8950C8 #C85053 #8FC850 #50C8C5
split-complementary
#8950C8 #C8C550 #53C850
monochromatic
#4D2678 #6B34A6 #8950C8 #A87FD7 #C8ADE5

Accessibility & contrast

On white

5.19
#8950C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8950C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8950C8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8950C8#FFFFFF#000000##FFFFFF
##8950C81.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6CCC
Deuteranopia (green-blind)
#306CC5
Tritanopia (blue-blind)
#7D6984
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8950c8;
/* rgb */ color: rgb(137, 80, 200);
/* oklch */ color: oklch(55.4% 0.181 302.8);
Tailwind
colors: {
  custom: {
    50: '#af84d9',
    500: '#8950c8',
    950: '#000000',
  },
}
SCSS
$custom: #8950c8;
$custom-light: #af84d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8950c8",
  "rgb": {
    "r": 137,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 268.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55422,
    "c": 0.1811,
    "h": 302.8
  },
  "luminance": 0.15226
}

Semantic roles & 50–950 ramp

primary
#8950C8
secondary
#BBD3A1
accent
#DC4C97
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8950C8

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

Preview Lab → · Contrast checker → · Palette generator →

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