#831E89#831E89

#831E89 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.181 H 325.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#831E89
RGBrgb(131, 30, 137)
HSLhsl(297, 64%, 33%)
HSVhsv(297, 78%, 54%)
CMYKcmyk(4.4%, 78.1%, 0%, 46.3%)
CIE-LABlab(33.05, 54.75, -36.85)
CIE-LCHlch(33.05, 66.00, 326.05°)
OKLaboklab(44.69% 0.1497 -0.1026)
OKLCHoklch(44.69% 0.181 325.6)
XYZxyz(14.3394, 7.5610, 24.3662)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E89 #24891E
analogous
#4E1E89 #831E89 #891E59
triadic
#831E89 #89831E #1E8983
tetradic
#831E89 #894E1E #24891E #1E5989
square
#831E89 #894E1E #24891E #1E5989
split-complementary
#831E89 #59891E #1E894E
monochromatic
#230825 #531357 #831E89 #B329BB #CF4AD7

Accessibility & contrast

On white

8.36
#831E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#831E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831E89
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E89#FFFFFF#000000##FFFFFF
##831E891.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#365286
Tritanopia (blue-blind)
#863153
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #831e89;
/* rgb */ color: rgb(131, 30, 137);
/* oklch */ color: oklch(44.7% 0.181 325.6);
Tailwind
colors: {
  custom: {
    50: '#ab66ac',
    500: '#831e89',
    950: '#000000',
  },
}
SCSS
$custom: #831e89;
$custom-light: #ab66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#831e89",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 296.636,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44685,
    "c": 0.18146,
    "h": 325.6
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

primary
#831E89
secondary
#4FBA49
accent
#E7414A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #831E89

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

Preview Lab → · Contrast checker → · Palette generator →

#831E89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva