#837AAA#837AAA

#837AAA is a mid, moderate violet. Relative luminance 0.216; OKLCH L 60.6% C 0.073 H 292.7°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#837AAA
RGBrgb(131, 122, 170)
HSLhsl(251, 22%, 57%)
HSVhsv(251, 28%, 67%)
CMYKcmyk(22.9%, 28.2%, 0%, 33.3%)
CIE-LABlab(53.65, 13.93, -24.29)
CIE-LCHlch(53.65, 28.00, 299.84°)
OKLaboklab(60.58% 0.028 -0.0669)
OKLCHoklch(60.58% 0.073 292.7)
XYZxyz(23.5736, 21.6464, 40.9586)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837AAA #A1AA7A
analogous
#7A89AA #837AAA #9B7AAA
triadic
#837AAA #AA837A #7AAA83
tetradic
#837AAA #AA7A89 #A1AA7A #7AAA9B
square
#837AAA #AA7A89 #A1AA7A #7AAA9B
split-complementary
#837AAA #AA9B7A #89AA7A
monochromatic
#494267 #645A8D #837AAA #A69FC2 #C9C5DA

Accessibility & contrast

On white

3.94
#837AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#837AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837AAA
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837AAA#FFFFFF#000000##000000
##837AAA1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E81AC
Deuteranopia (green-blind)
#6F7FA9
Tritanopia (blue-blind)
#7B828B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #837aaa;
/* rgb */ color: rgb(131, 122, 170);
/* oklch */ color: oklch(60.6% 0.073 292.7);
Tailwind
colors: {
  custom: {
    50: '#a8a0c3',
    500: '#837aaa',
    950: '#000000',
  },
}
SCSS
$custom: #837aaa;
$custom-light: #a8a0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#837aaa",
  "rgb": {
    "r": 131,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 251.25,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60577,
    "c": 0.07256,
    "h": 292.7
  },
  "luminance": 0.21647
}

Semantic roles & 50–950 ramp

primary
#837AAA
secondary
#C6CAB6
accent
#BF69AF
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #837AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#837AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva