#831989#831989

#831989 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.186 H 325.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#831989
RGBrgb(131, 25, 137)
HSLhsl(297, 69%, 32%)
HSVhsv(297, 82%, 54%)
CMYKcmyk(4.4%, 81.8%, 0%, 46.3%)
CIE-LABlab(32.54, 56.22, -37.67)
CIE-LCHlch(32.54, 67.67, 326.18°)
OKLaboklab(44.32% 0.1537 -0.1049)
OKLCHoklch(44.32% 0.186 325.7)
XYZxyz(14.2228, 7.3277, 24.3273)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831989 #1F8919
analogous
#4B1989 #831989 #891957
triadic
#831989 #898319 #198983
tetradic
#831989 #894B19 #1F8919 #195789
square
#831989 #894B19 #1F8919 #195789
split-complementary
#831989 #578919 #19894B
monochromatic
#200621 #521055 #831989 #B422BD #D440DC

Accessibility & contrast

On white

8.52
#831989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#831989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831989
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831989#FFFFFF#000000##FFFFFF
##8319891.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#345186
Tritanopia (blue-blind)
#862F52
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #831989;
/* rgb */ color: rgb(131, 25, 137);
/* oklch */ color: oklch(44.3% 0.186 325.7);
Tailwind
colors: {
  custom: {
    50: '#ab65ac',
    500: '#831989',
    950: '#000000',
  },
}
SCSS
$custom: #831989;
$custom-light: #ab65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#831989",
  "rgb": {
    "r": 131,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 296.786,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44323,
    "c": 0.18615,
    "h": 325.7
  },
  "luminance": 0.07327
}

Semantic roles & 50–950 ramp

primary
#831989
secondary
#48BC41
accent
#EC3C45
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831989

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

Preview Lab → · Contrast checker → · Palette generator →

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