#8931CA#8931CA

#8931CA is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.8% C 0.222 H 306.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8931CA
RGBrgb(137, 49, 202)
HSLhsl(275, 61%, 49%)
HSVhsv(275, 76%, 79%)
CMYKcmyk(32.2%, 75.7%, 0%, 20.8%)
CIE-LABlab(40.86, 62.23, -63.13)
CIE-LCHlch(40.86, 88.65, 314.59°)
OKLaboklab(51.83% 0.1307 -0.1796)
OKLCHoklch(51.83% 0.222 306)
XYZxyz(22.0732, 11.7795, 56.9765)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8931CA #72CA31
analogous
#3D31CA #8931CA #CA31BF
triadic
#8931CA #CA8931 #31CA89
tetradic
#8931CA #CA3D31 #72CA31 #31BFCA
square
#8931CA #CA3D31 #72CA31 #31BFCA
split-complementary
#8931CA #BFCA31 #31CA3D
monochromatic
#461967 #682599 #8931CA #A560D8 #C191E4

Accessibility & contrast

On white

6.26
#8931CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8931CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8931CA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8931CA#FFFFFF#000000##FFFFFF
##8931CA1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#7D577C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8931ca;
/* rgb */ color: rgb(137, 49, 202);
/* oklch */ color: oklch(51.8% 0.222 306.0);
Tailwind
colors: {
  custom: {
    50: '#b172db',
    500: '#8931ca',
    950: '#000000',
  },
}
SCSS
$custom: #8931ca;
$custom-light: #b172db;
$custom-dark: #000000;
JSON
{
  "hex": "#8931ca",
  "rgb": {
    "r": 137,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 274.51,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51827,
    "c": 0.22211,
    "h": 306
  },
  "luminance": 0.11779
}

Semantic roles & 50–950 ramp

primary
#8931CA
secondary
#A6CF88
accent
#E44488
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8931CA

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

Preview Lab → · Contrast checker → · Palette generator →

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