#835AAA#835AAA

#835AAA is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.5% C 0.127 H 306.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#835AAA
RGBrgb(131, 90, 170)
HSLhsl(271, 32%, 51%)
HSVhsv(271, 47%, 67%)
CMYKcmyk(22.9%, 47.1%, 0%, 33.3%)
CIE-LABlab(45.69, 32.83, -36.71)
CIE-LCHlch(45.69, 49.25, 311.81°)
OKLaboklab(54.53% 0.0753 -0.1026)
OKLCHoklch(54.53% 0.127 306.3)
XYZxyz(20.2705, 15.0401, 39.8576)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835AAA #81AA5A
analogous
#5B5AAA #835AAA #AA5AA9
triadic
#835AAA #AA835A #5AAA83
tetradic
#835AAA #AA5B5A #81AA5A #5AA9AA
square
#835AAA #AA5B5A #81AA5A #5AA9AA
split-complementary
#835AAA #A9AA5A #5AAA5B
monochromatic
#452F5B #644483 #835AAA #A182BF #C0ABD4

Accessibility & contrast

On white

5.24
#835AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#835AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835AAA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835AAA#FFFFFF#000000##FFFFFF
##835AAA1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456BAD
Deuteranopia (green-blind)
#506CA8
Tritanopia (blue-blind)
#7D677A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #835aaa;
/* rgb */ color: rgb(131, 90, 170);
/* oklch */ color: oklch(54.5% 0.127 306.3);
Tailwind
colors: {
  custom: {
    50: '#a989c3',
    500: '#835aaa',
    950: '#000000',
  },
}
SCSS
$custom: #835aaa;
$custom-light: #a989c3;
$custom-dark: #000000;
JSON
{
  "hex": "#835aaa",
  "rgb": {
    "r": 131,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 270.75,
    "s": 32,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54525,
    "c": 0.12723,
    "h": 306.3
  },
  "luminance": 0.1504
}

Semantic roles & 50–950 ramp

primary
#835AAA
secondary
#AFC29E
accent
#C86093
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #835AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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