#931EA6#931EA6

#931EA6 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.212 H 321.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#931EA6
RGBrgb(147, 30, 166)
HSLhsl(292, 69%, 38%)
HSVhsv(292, 82%, 65%)
CMYKcmyk(11.4%, 81.9%, 0%, 34.9%)
CIE-LABlab(37.64, 63.09, -47.03)
CIE-LCHlch(37.64, 78.69, 323.30°)
OKLaboklab(49.05% 0.1654 -0.1319)
OKLCHoklch(49.05% 0.212 321.4)
XYZxyz(19.3791, 9.8859, 36.9564)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931EA6 #31A61E
analogous
#4F1EA6 #931EA6 #A61E75
triadic
#931EA6 #A6931E #1EA693
tetradic
#931EA6 #A64F1E #31A61E #1E75A6
square
#931EA6 #A64F1E #31A61E #1E75A6
split-complementary
#931EA6 #75A61E #1EA64F
monochromatic
#370B3E #651572 #931EA6 #C029D8 #CF5DE2

Accessibility & contrast

On white

7.05
#931EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#931EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931EA6
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931EA6#FFFFFF#000000##FFFFFF
##931EA61.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#325DA3
Tritanopia (blue-blind)
#943C64
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #931ea6;
/* rgb */ color: rgb(147, 30, 166);
/* oklch */ color: oklch(49.1% 0.212 321.4);
Tailwind
colors: {
  custom: {
    50: '#b76ac1',
    500: '#931ea6',
    950: '#000000',
  },
}
SCSS
$custom: #931ea6;
$custom-light: #b76ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#931ea6",
  "rgb": {
    "r": 147,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 291.618,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49051,
    "c": 0.21152,
    "h": 321.4
  },
  "luminance": 0.09885
}

Semantic roles & 50–950 ramp

primary
#931EA6
secondary
#69C65A
accent
#EC3C54
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #931EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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