#832498#832498

#832498 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.188 H 319.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#832498
RGBrgb(131, 36, 152)
HSLhsl(289, 62%, 37%)
HSVhsv(289, 76%, 60%)
CMYKcmyk(13.8%, 76.3%, 0%, 40.4%)
CIE-LABlab(34.71, 55.51, -43.41)
CIE-LCHlch(34.71, 70.47, 321.97°)
OKLaboklab(46.17% 0.143 -0.1218)
OKLCHoklch(46.17% 0.188 319.6)
XYZxyz(15.6577, 8.3548, 30.4876)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832498 #399824
analogous
#492498 #832498 #982473
triadic
#832498 #988324 #249883
tetradic
#832498 #984924 #399824 #247398
square
#832498 #984924 #399824 #247398
split-complementary
#832498 #739824 #249849
monochromatic
#2E0D35 #581867 #832498 #AE30C9 #C25ED9

Accessibility & contrast

On white

7.86
#832498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#832498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #832498
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832498#FFFFFF#000000##FFFFFF
##8324981.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#2E5595
Tritanopia (blue-blind)
#833C5D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #832498;
/* rgb */ color: rgb(131, 36, 152);
/* oklch */ color: oklch(46.2% 0.188 319.6);
Tailwind
colors: {
  custom: {
    50: '#ab6ab7',
    500: '#832498',
    950: '#000000',
  },
}
SCSS
$custom: #832498;
$custom-light: #ab6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#832498",
  "rgb": {
    "r": 131,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 289.138,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46172,
    "c": 0.18786,
    "h": 319.6
  },
  "luminance": 0.08354
}

Semantic roles & 50–950 ramp

primary
#832498
secondary
#6CBE5A
accent
#E54360
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #832498

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

Preview Lab → · Contrast checker → · Palette generator →

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