#931DA8#931DA8

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

Color values

HEX#931DA8
RGBrgb(147, 29, 168)
HSLhsl(291, 71%, 39%)
HSVhsv(291, 83%, 66%)
CMYKcmyk(12.5%, 82.7%, 0%, 34.1%)
CIE-LABlab(37.68, 63.71, -48.16)
CIE-LCHlch(37.68, 79.87, 322.91°)
OKLaboklab(49.13% 0.1658 -0.1352)
OKLCHoklch(49.13% 0.214 320.8)
XYZxyz(19.5390, 9.9100, 37.9218)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931DA8 #32A81D
analogous
#4D1DA8 #931DA8 #A81D77
triadic
#931DA8 #A8931D #1DA893
tetradic
#931DA8 #A84D1D #32A81D #1D77A8
square
#931DA8 #A84D1D #32A81D #1D77A8
split-complementary
#931DA8 #77A81D #1DA84D
monochromatic
#380B40 #651474 #931DA8 #BF28DA #CF5CE3

Accessibility & contrast

On white

7.04
#931DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #931DA8
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931DA8#FFFFFF#000000##FFFFFF
##931DA81.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #931da8;
/* rgb */ color: rgb(147, 29, 168);
/* oklch */ color: oklch(49.1% 0.214 320.8);
Tailwind
colors: {
  custom: {
    50: '#b76ac2',
    500: '#931da8',
    950: '#000000',
  },
}
SCSS
$custom: #931da8;
$custom-light: #b76ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#931da8",
  "rgb": {
    "r": 147,
    "g": 29,
    "b": 168
  },
  "hsl": {
    "h": 290.935,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49125,
    "c": 0.21391,
    "h": 320.8
  },
  "luminance": 0.09909
}

Semantic roles & 50–950 ramp

primary
#931DA8
secondary
#6AC75A
accent
#ED3A55
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120712
muted
#817A81

Preview Lab

Preview with #931DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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