#832197#832197

#832197 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.190 H 320.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#832197
RGBrgb(131, 33, 151)
HSLhsl(290, 64%, 36%)
HSVhsv(290, 78%, 59%)
CMYKcmyk(13.2%, 78.1%, 0%, 40.8%)
CIE-LABlab(34.29, 56.34, -43.48)
CIE-LCHlch(34.29, 71.17, 322.34°)
OKLaboklab(45.85% 0.1458 -0.122)
OKLCHoklch(45.85% 0.19 320.1)
XYZxyz(15.4892, 8.1482, 30.0290)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832197 #359721
analogous
#482197 #832197 #972170
triadic
#832197 #978321 #219783
tetradic
#832197 #974821 #359721 #217097
square
#832197 #974821 #359721 #217097
split-complementary
#832197 #709721 #219748
monochromatic
#2C0B33 #571665 #832197 #AF2CC9 #C458DA

Accessibility & contrast

On white

7.99
#832197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#832197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #832197
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832197#FFFFFF#000000##FFFFFF
##8321971.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#2D5494
Tritanopia (blue-blind)
#833A5B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #832197;
/* rgb */ color: rgb(131, 33, 151);
/* oklch */ color: oklch(45.9% 0.190 320.1);
Tailwind
colors: {
  custom: {
    50: '#ab68b6',
    500: '#832197',
    950: '#000000',
  },
}
SCSS
$custom: #832197;
$custom-light: #ab68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#832197",
  "rgb": {
    "r": 131,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 289.831,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45852,
    "c": 0.19012,
    "h": 320.1
  },
  "luminance": 0.08147
}

Semantic roles & 50–950 ramp

primary
#832197
secondary
#67BE55
accent
#E7415D
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #832197

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

Preview Lab → · Contrast checker → · Palette generator →

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