#8931C2#8931C2

#8931C2 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.2% C 0.214 H 308.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8931C2
RGBrgb(137, 49, 194)
HSLhsl(276, 60%, 48%)
HSVhsv(276, 75%, 76%)
CMYKcmyk(29.4%, 74.7%, 0%, 23.9%)
CIE-LABlab(40.26, 60.48, -59.44)
CIE-LCHlch(40.26, 84.80, 315.49°)
OKLaboklab(51.22% 0.1323 -0.1688)
OKLCHoklch(51.22% 0.214 308.1)
XYZxyz(21.1504, 11.4104, 52.1167)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8931C2 #6AC231
analogous
#4131C2 #8931C2 #C231B2
triadic
#8931C2 #C28931 #31C289
tetradic
#8931C2 #C24131 #6AC231 #31B2C2
square
#8931C2 #C24131 #6AC231 #31B2C2
split-complementary
#8931C2 #B2C231 #31C241
monochromatic
#441860 #662591 #8931C2 #A55BD6 #C08CE2

Accessibility & contrast

On white

6.40
#8931C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8931C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8931C2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8931C2#FFFFFF#000000##FFFFFF
##8931C21.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#805478
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8931c2;
/* rgb */ color: rgb(137, 49, 194);
/* oklch */ color: oklch(51.2% 0.214 308.1);
Tailwind
colors: {
  custom: {
    50: '#b172d5',
    500: '#8931c2',
    950: '#000000',
  },
}
SCSS
$custom: #8931c2;
$custom-light: #b172d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8931c2",
  "rgb": {
    "r": 137,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 276.414,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51217,
    "c": 0.21444,
    "h": 308.1
  },
  "luminance": 0.1141
}

Semantic roles & 50–950 ramp

primary
#8931C2
secondary
#A0CC83
accent
#E34583
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8931C2

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

Preview Lab → · Contrast checker → · Palette generator →

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