#8950C2#8950C2

#8950C2 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.0% C 0.174 H 304.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8950C2
RGBrgb(137, 80, 194)
HSLhsl(270, 48%, 54%)
HSVhsv(270, 59%, 76%)
CMYKcmyk(29.4%, 58.8%, 0%, 23.9%)
CIE-LABlab(45.57, 45.84, -50.89)
CIE-LCHlch(45.57, 68.49, 312.02°)
OKLaboklab(55.03% 0.0982 -0.1438)
OKLCHoklch(55.03% 0.174 304.3)
XYZxyz(22.9206, 14.9508, 52.7068)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8950C2 #89C250
analogous
#5050C2 #8950C2 #C250C2
triadic
#8950C2 #C28950 #50C289
tetradic
#8950C2 #C25050 #89C250 #50C2C2
square
#8950C2 #C25050 #89C250 #50C2C2
split-complementary
#8950C2 #C2C250 #50C250
monochromatic
#4C2770 #6A379E #8950C2 #A87DD2 #C6ABE2

Accessibility & contrast

On white

5.26
#8950C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8950C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8950C2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8950C2#FFFFFF#000000##FFFFFF
##8950C21.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6AC6
Deuteranopia (green-blind)
#376CBF
Tritanopia (blue-blind)
#7F6781
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8950c2;
/* rgb */ color: rgb(137, 80, 194);
/* oklch */ color: oklch(55.0% 0.174 304.3);
Tailwind
colors: {
  custom: {
    50: '#af84d5',
    500: '#8950c2',
    950: '#000000',
  },
}
SCSS
$custom: #8950c2;
$custom-light: #af84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8950c2",
  "rgb": {
    "r": 137,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 270,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55028,
    "c": 0.17412,
    "h": 304.3
  },
  "luminance": 0.14951
}

Semantic roles & 50–950 ramp

primary
#8950C2
secondary
#B7CF9F
accent
#D85094
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8950C2

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

Preview Lab → · Contrast checker → · Palette generator →

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