#835BB2#835BB2

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

Color values

HEX#835BB2
RGBrgb(131, 91, 178)
HSLhsl(268, 36%, 53%)
HSVhsv(268, 49%, 70%)
CMYKcmyk(26.4%, 48.9%, 0%, 30.2%)
CIE-LABlab(46.34, 34.21, -40.37)
CIE-LCHlch(46.34, 52.92, 310.28°)
OKLaboklab(55.15% 0.0749 -0.1132)
OKLCHoklch(55.15% 0.136 303.5)
XYZxyz(21.1353, 15.5219, 43.9934)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835BB2 #8AB25B
analogous
#5B5EB2 #835BB2 #AE5BB2
triadic
#835BB2 #B2835B #5BB283
tetradic
#835BB2 #B25B5E #8AB25B #5BB2AE
square
#835BB2 #B25B5E #8AB25B #5BB2AE
split-complementary
#835BB2 #B2AE5B #5EB25B
monochromatic
#472F64 #65428D #835BB2 #A285C6 #C2AED9

Accessibility & contrast

On white

5.12
#835BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #835BB2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835BB2#FFFFFF#000000##FFFFFF
##835BB21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416DB5
Deuteranopia (green-blind)
#4C6EB0
Tritanopia (blue-blind)
#7B6A7E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #835bb2;
/* rgb */ color: rgb(131, 91, 178);
/* oklch */ color: oklch(55.1% 0.136 303.5);
Tailwind
colors: {
  custom: {
    50: '#a98ac9',
    500: '#835bb2',
    950: '#000000',
  },
}
SCSS
$custom: #835bb2;
$custom-light: #a98ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#835bb2",
  "rgb": {
    "r": 131,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 267.586,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5515,
    "c": 0.13576,
    "h": 303.5
  },
  "luminance": 0.15522
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #835BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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