#8950AF#8950AF

#8950AF is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.8% C 0.152 H 309.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8950AF
RGBrgb(137, 80, 175)
HSLhsl(276, 37%, 50%)
HSVhsv(276, 54%, 69%)
CMYKcmyk(21.7%, 54.3%, 0%, 31.4%)
CIE-LABlab(44.45, 41.34, -41.57)
CIE-LCHlch(44.45, 58.63, 314.84°)
OKLaboklab(53.85% 0.0976 -0.1165)
OKLCHoklch(53.85% 0.152 309.9)
XYZxyz(20.9216, 14.1512, 42.1784)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8950AF #76AF50
analogous
#5950AF #8950AF #AF50A6
triadic
#8950AF #AF8950 #50AF89
tetradic
#8950AF #AF5950 #76AF50 #50A6AF
square
#8950AF #AF5950 #76AF50 #50A6AF
split-complementary
#8950AF #A6AF50 #50AF59
monochromatic
#472A5B #683D85 #8950AF #A57AC2 #C2A4D5

Accessibility & contrast

On white

5.48
#8950AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8950AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8950AF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8950AF#FFFFFF#000000##FFFFFF
##8950AF1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3467B2
Deuteranopia (green-blind)
#476AAD
Tritanopia (blue-blind)
#846178
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8950af;
/* rgb */ color: rgb(137, 80, 175);
/* oklch */ color: oklch(53.8% 0.152 309.9);
Tailwind
colors: {
  custom: {
    50: '#ae83c7',
    500: '#8950af',
    950: '#000000',
  },
}
SCSS
$custom: #8950af;
$custom-light: #ae83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8950af",
  "rgb": {
    "r": 137,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 276,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.53847,
    "c": 0.152,
    "h": 309.9
  },
  "luminance": 0.14151
}

Semantic roles & 50–950 ramp

primary
#8950AF
secondary
#A9C398
accent
#CD5B88
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8950AF

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

Preview Lab → · Contrast checker → · Palette generator →

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