#931796#931796

#931796 is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.6% C 0.205 H 327.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#931796
RGBrgb(147, 23, 150)
HSLhsl(299, 73%, 34%)
HSVhsv(299, 85%, 59%)
CMYKcmyk(2%, 84.7%, 0%, 41.2%)
CIE-LABlab(36.02, 62.07, -39.94)
CIE-LCHlch(36.02, 73.81, 327.24°)
OKLaboklab(47.58% 0.1718 -0.1111)
OKLCHoklch(47.58% 0.205 327.1)
XYZxyz(17.8438, 9.0192, 29.6493)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931796 #1A9617
analogous
#541796 #931796 #96175A
triadic
#931796 #969317 #179693
tetradic
#931796 #965417 #1A9617 #175A96
square
#931796 #965417 #1A9617 #175A96
split-complementary
#931796 #5A9617 #179654
monochromatic
#2B072C #5F0F61 #931796 #C71FCB #DF45E2

Accessibility & contrast

On white

7.49
#931796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#931796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931796
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931796#FFFFFF#000000##FFFFFF
##9317961.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#3C5A93
Tritanopia (blue-blind)
#973059
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #931796;
/* rgb */ color: rgb(147, 23, 150);
/* oklch */ color: oklch(47.6% 0.205 327.1);
Tailwind
colors: {
  custom: {
    50: '#b767b5',
    500: '#931796',
    950: '#000000',
  },
}
SCSS
$custom: #931796;
$custom-light: #b767b5;
$custom-dark: #000000;
JSON
{
  "hex": "#931796",
  "rgb": {
    "r": 147,
    "g": 23,
    "b": 150
  },
  "hsl": {
    "h": 298.583,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47584,
    "c": 0.20458,
    "h": 327.1
  },
  "luminance": 0.09018
}

Semantic roles & 50–950 ramp

primary
#931796
secondary
#48C345
accent
#F0383C
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#120711
muted
#817A80

Preview Lab

Preview with #931796

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

Preview Lab → · Contrast checker → · Palette generator →

#931796 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva