#931EA8#931EA8

#931EA8 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.213 H 320.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#931EA8
RGBrgb(147, 30, 168)
HSLhsl(291, 70%, 39%)
HSVhsv(291, 82%, 66%)
CMYKcmyk(12.5%, 82.1%, 0%, 34.1%)
CIE-LABlab(37.77, 63.45, -48.02)
CIE-LCHlch(37.77, 79.57, 322.88°)
OKLaboklab(49.19% 0.1651 -0.1348)
OKLCHoklch(49.19% 0.213 320.8)
XYZxyz(19.5639, 9.9598, 37.9301)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931EA8 #33A81E
analogous
#4E1EA8 #931EA8 #A81E78
triadic
#931EA8 #A8931E #1EA893
tetradic
#931EA8 #A84E1E #33A81E #1E78A8
square
#931EA8 #A84E1E #33A81E #1E78A8
split-complementary
#931EA8 #78A81E #1EA84E
monochromatic
#380B40 #661574 #931EA8 #BE2AD9 #CE5EE2

Accessibility & contrast

On white

7.02
#931EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#931EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931EA8
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931EA8#FFFFFF#000000##FFFFFF
##931EA81.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#305DA5
Tritanopia (blue-blind)
#943D65
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #931ea8;
/* rgb */ color: rgb(147, 30, 168);
/* oklch */ color: oklch(49.2% 0.213 320.8);
Tailwind
colors: {
  custom: {
    50: '#b76ac2',
    500: '#931ea8',
    950: '#000000',
  },
}
SCSS
$custom: #931ea8;
$custom-light: #b76ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#931ea8",
  "rgb": {
    "r": 147,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 290.87,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49188,
    "c": 0.21311,
    "h": 320.8
  },
  "luminance": 0.09959
}

Semantic roles & 50–950 ramp

primary
#931EA8
secondary
#6CC75B
accent
#ED3B56
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120712
muted
#817A81

Preview Lab

Preview with #931EA8

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

Preview Lab → · Contrast checker → · Palette generator →

#931EA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva