#835BB1#835BB1

#835BB1 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.1% C 0.134 H 303.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#835BB1
RGBrgb(131, 91, 177)
HSLhsl(268, 36%, 53%)
HSVhsv(268, 49%, 69%)
CMYKcmyk(26%, 48.6%, 0%, 30.6%)
CIE-LABlab(46.29, 33.96, -39.87)
CIE-LCHlch(46.29, 52.38, 310.42°)
OKLaboklab(55.09% 0.0748 -0.1118)
OKLCHoklch(55.09% 0.134 303.8)
XYZxyz(21.0353, 15.4818, 43.4666)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835BB1 #89B15B
analogous
#5B5EB1 #835BB1 #AE5BB1
triadic
#835BB1 #B1835B #5BB183
tetradic
#835BB1 #B15B5E #89B15B #5BB1AE
square
#835BB1 #B15B5E #89B15B #5BB1AE
split-complementary
#835BB1 #B1AE5B #5EB15B
monochromatic
#472F63 #65438C #835BB1 #A284C5 #C2AED8

Accessibility & contrast

On white

5.13
#835BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#835BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835BB1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835BB1#FFFFFF#000000##FFFFFF
##835BB11.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426DB4
Deuteranopia (green-blind)
#4C6EAF
Tritanopia (blue-blind)
#7B6A7E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #835bb1;
/* rgb */ color: rgb(131, 91, 177);
/* oklch */ color: oklch(55.1% 0.134 303.8);
Tailwind
colors: {
  custom: {
    50: '#a98ac9',
    500: '#835bb1',
    950: '#000000',
  },
}
SCSS
$custom: #835bb1;
$custom-light: #a98ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#835bb1",
  "rgb": {
    "r": 131,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 267.907,
    "s": 35.537,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55092,
    "c": 0.13448,
    "h": 303.8
  },
  "luminance": 0.15482
}

Semantic roles & 50–950 ramp

primary
#835BB1
secondary
#B5C7A1
accent
#CC5C98
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #835BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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