#8950C1#8950C1

#8950C1 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.173 H 304.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8950C1
RGBrgb(137, 80, 193)
HSLhsl(270, 48%, 54%)
HSVhsv(270, 59%, 76%)
CMYKcmyk(29%, 58.5%, 0%, 24.3%)
CIE-LABlab(45.51, 45.60, -50.40)
CIE-LCHlch(45.51, 67.97, 312.14°)
OKLaboklab(54.96% 0.0982 -0.1424)
OKLCHoklch(54.96% 0.173 304.6)
XYZxyz(22.8087, 14.9060, 52.1173)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8950C1 #88C150
analogous
#5050C1 #8950C1 #C150C0
triadic
#8950C1 #C18950 #50C189
tetradic
#8950C1 #C15050 #88C150 #50C0C1
square
#8950C1 #C15050 #88C150 #50C0C1
split-complementary
#8950C1 #C0C150 #50C150
monochromatic
#4C276F #6A379C #8950C1 #A77DD1 #C6AAE1

Accessibility & contrast

On white

5.27
#8950C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8950C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8950C1
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8950C1#FFFFFF#000000##FFFFFF
##8950C11.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6AC5
Deuteranopia (green-blind)
#386CBE
Tritanopia (blue-blind)
#7F6681
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8950c1;
/* rgb */ color: rgb(137, 80, 193);
/* oklch */ color: oklch(55.0% 0.173 304.6);
Tailwind
colors: {
  custom: {
    50: '#af84d4',
    500: '#8950c1',
    950: '#000000',
  },
}
SCSS
$custom: #8950c1;
$custom-light: #af84d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8950c1",
  "rgb": {
    "r": 137,
    "g": 80,
    "b": 193
  },
  "hsl": {
    "h": 270.265,
    "s": 47.679,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54963,
    "c": 0.17297,
    "h": 304.6
  },
  "luminance": 0.14906
}

Semantic roles & 50–950 ramp

primary
#8950C1
secondary
#B6CF9E
accent
#D75193
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8950C1

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

Preview Lab → · Contrast checker → · Palette generator →

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