#832797#832797

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

Color values

HEX#832797
RGBrgb(131, 39, 151)
HSLhsl(289, 59%, 37%)
HSVhsv(289, 74%, 59%)
CMYKcmyk(13.2%, 74.2%, 0%, 40.8%)
CIE-LABlab(35.03, 54.23, -42.30)
CIE-LCHlch(35.03, 68.77, 322.05°)
OKLaboklab(46.38% 0.1402 -0.1186)
OKLCHoklch(46.38% 0.184 319.8)
XYZxyz(15.6708, 8.5115, 30.0896)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832797 #3B9727
analogous
#4B2797 #832797 #972773
triadic
#832797 #978327 #279783
tetradic
#832797 #974B27 #3B9727 #277397
square
#832797 #974B27 #3B9727 #277397
split-complementary
#832797 #739727 #27974B
monochromatic
#2F0E36 #591A66 #832797 #AD34C8 #C262D6

Accessibility & contrast

On white

7.77
#832797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#832797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #832797
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832797#FFFFFF#000000##FFFFFF
##8327971.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#315594
Tritanopia (blue-blind)
#833D5D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #832797;
/* rgb */ color: rgb(131, 39, 151);
/* oklch */ color: oklch(46.4% 0.184 319.8);
Tailwind
colors: {
  custom: {
    50: '#ab6bb6',
    500: '#832797',
    950: '#000000',
  },
}
SCSS
$custom: #832797;
$custom-light: #ab6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#832797",
  "rgb": {
    "r": 131,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 289.286,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46375,
    "c": 0.18364,
    "h": 319.8
  },
  "luminance": 0.08511
}

Semantic roles & 50–950 ramp

primary
#832797
secondary
#6FBC5E
accent
#E24662
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #832797

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

Preview Lab → · Contrast checker → · Palette generator →

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