#832198#832198

#832198 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.191 H 319.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#832198
RGBrgb(131, 33, 152)
HSLhsl(289, 64%, 36%)
HSVhsv(289, 78%, 60%)
CMYKcmyk(13.8%, 78.3%, 0%, 40.4%)
CIE-LABlab(34.36, 56.53, -43.98)
CIE-LCHlch(34.36, 71.62, 322.12°)
OKLaboklab(45.92% 0.1457 -0.1235)
OKLCHoklch(45.92% 0.191 319.7)
XYZxyz(15.5707, 8.1808, 30.4586)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832198 #369821
analogous
#482198 #832198 #982172
triadic
#832198 #988321 #219883
tetradic
#832198 #984821 #369821 #217298
square
#832198 #984821 #369821 #217298
split-complementary
#832198 #729821 #219848
monochromatic
#2C0B33 #581666 #832198 #AE2CCA #C459DB

Accessibility & contrast

On white

7.97
#832198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#832198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #832198
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832198#FFFFFF#000000##FFFFFF
##8321981.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#2C5495
Tritanopia (blue-blind)
#833A5C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #832198;
/* rgb */ color: rgb(131, 33, 152);
/* oklch */ color: oklch(45.9% 0.191 319.7);
Tailwind
colors: {
  custom: {
    50: '#ab68b7',
    500: '#832198',
    950: '#000000',
  },
}
SCSS
$custom: #832198;
$custom-light: #ab68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#832198",
  "rgb": {
    "r": 131,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 289.412,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45921,
    "c": 0.19097,
    "h": 319.7
  },
  "luminance": 0.0818
}

Semantic roles & 50–950 ramp

primary
#832198
secondary
#68BF56
accent
#E7405E
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #832198

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

Preview Lab → · Contrast checker → · Palette generator →

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