#835EB5#835EB5

#835EB5 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.8% C 0.135 H 301.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#835EB5
RGBrgb(131, 94, 181)
HSLhsl(266, 37%, 54%)
HSVhsv(266, 48%, 71%)
CMYKcmyk(27.6%, 48.1%, 0%, 29%)
CIE-LABlab(47.19, 33.22, -40.77)
CIE-LCHlch(47.19, 52.59, 309.17°)
OKLaboklab(55.84% 0.0711 -0.1144)
OKLCHoklch(55.84% 0.135 301.8)
XYZxyz(21.7014, 16.1669, 45.6843)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835EB5 #90B55E
analogous
#5E65B5 #835EB5 #AF5EB5
triadic
#835EB5 #B5835E #5EB583
tetradic
#835EB5 #B55E65 #90B55E #5EB5AF
square
#835EB5 #B55E65 #90B55E #5EB5AF
split-complementary
#835EB5 #B5AF5E #65B55E
monochromatic
#483069 #654392 #835EB5 #A388C8 #C4B2DC

Accessibility & contrast

On white

4.96
#835EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#835EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835EB5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835EB5#FFFFFF#000000##FFFFFF
##835EB51.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446FB8
Deuteranopia (green-blind)
#4D70B3
Tritanopia (blue-blind)
#7A6E81
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #835eb5;
/* rgb */ color: rgb(131, 94, 181);
/* oklch */ color: oklch(55.8% 0.135 301.8);
Tailwind
colors: {
  custom: {
    50: '#a98ccb',
    500: '#835eb5',
    950: '#000000',
  },
}
SCSS
$custom: #835eb5;
$custom-light: #a98ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#835eb5",
  "rgb": {
    "r": 131,
    "g": 94,
    "b": 181
  },
  "hsl": {
    "h": 265.517,
    "s": 37.021,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55838,
    "c": 0.13468,
    "h": 301.8
  },
  "luminance": 0.16167
}

Semantic roles & 50–950 ramp

primary
#835EB5
secondary
#BACAA5
accent
#CD5B9C
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #835EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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