#832798#832798

#832798 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.185 H 319.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#832798
RGBrgb(131, 39, 152)
HSLhsl(289, 59%, 37%)
HSVhsv(289, 74%, 60%)
CMYKcmyk(13.8%, 74.3%, 0%, 40.4%)
CIE-LABlab(35.09, 54.42, -42.80)
CIE-LCHlch(35.09, 69.24, 321.82°)
OKLaboklab(46.44% 0.1401 -0.12)
OKLCHoklch(46.44% 0.185 319.4)
XYZxyz(15.7524, 8.5441, 30.5191)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832798 #3C9827
analogous
#4B2798 #832798 #982774
triadic
#832798 #988327 #279883
tetradic
#832798 #984B27 #3C9827 #277498
square
#832798 #984B27 #3C9827 #277498
split-complementary
#832798 #749827 #27984B
monochromatic
#2F0E37 #591B67 #832798 #AD33C9 #C163D7

Accessibility & contrast

On white

7.75
#832798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#832798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #832798
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832798#FFFFFF#000000##FFFFFF
##8327981.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#305695
Tritanopia (blue-blind)
#833E5D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #832798;
/* rgb */ color: rgb(131, 39, 152);
/* oklch */ color: oklch(46.4% 0.185 319.4);
Tailwind
colors: {
  custom: {
    50: '#ab6bb7',
    500: '#832798',
    950: '#000000',
  },
}
SCSS
$custom: #832798;
$custom-light: #ab6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#832798",
  "rgb": {
    "r": 131,
    "g": 39,
    "b": 152
  },
  "hsl": {
    "h": 288.85,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46442,
    "c": 0.18453,
    "h": 319.4
  },
  "luminance": 0.08543
}

Semantic roles & 50–950 ramp

primary
#832798
secondary
#70BC5E
accent
#E24563
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #832798

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

Preview Lab → · Contrast checker → · Palette generator →

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