#831895#831895

#831895 is a mid, vivid purple. Relative luminance 0.076; OKLCH L 45.1% C 0.197 H 321.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#831895
RGBrgb(131, 24, 149)
HSLhsl(291, 72%, 34%)
HSVhsv(291, 84%, 58%)
CMYKcmyk(12.1%, 83.9%, 0%, 41.6%)
CIE-LABlab(33.24, 58.62, -43.94)
CIE-LCHlch(33.24, 73.26, 323.14°)
OKLaboklab(45.07% 0.1531 -0.1233)
OKLCHoklch(45.07% 0.197 321.2)
XYZxyz(15.1109, 7.6493, 29.1085)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831895 #2A9518
analogous
#451895 #831895 #951869
triadic
#831895 #958318 #189583
tetradic
#831895 #954518 #2A9518 #186995
square
#831895 #954518 #2A9518 #186995
split-complementary
#831895 #699518 #189545
monochromatic
#26072C #551060 #831895 #B120CA #CB46E1

Accessibility & contrast

On white

8.30
#831895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#831895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831895
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831895#FFFFFF#000000##FFFFFF
##8318951.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#2A5292
Tritanopia (blue-blind)
#843558
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #831895;
/* rgb */ color: rgb(131, 24, 149);
/* oklch */ color: oklch(45.1% 0.197 321.2);
Tailwind
colors: {
  custom: {
    50: '#ab65b5',
    500: '#831895',
    950: '#000000',
  },
}
SCSS
$custom: #831895;
$custom-light: #ab65b5;
$custom-dark: #000000;
JSON
{
  "hex": "#831895",
  "rgb": {
    "r": 131,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 291.36,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4507,
    "c": 0.19657,
    "h": 321.2
  },
  "luminance": 0.07648
}

Semantic roles & 50–950 ramp

primary
#831895
secondary
#58C246
accent
#EF3953
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110611
muted
#807A80

Preview Lab

Preview with #831895

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

Preview Lab → · Contrast checker → · Palette generator →

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