#835BC2#835BC2

#835BC2 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.1% C 0.156 H 299.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#835BC2
RGBrgb(131, 91, 194)
HSLhsl(263, 46%, 56%)
HSVhsv(263, 53%, 76%)
CMYKcmyk(32.5%, 53.1%, 0%, 23.9%)
CIE-LABlab(47.24, 38.26, -48.25)
CIE-LCHlch(47.24, 61.57, 308.41°)
OKLaboklab(56.11% 0.0763 -0.1362)
OKLCHoklch(56.11% 0.156 299.2)
XYZxyz(22.8364, 16.2023, 52.9527)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835BC2 #9AC25B
analogous
#5B66C2 #835BC2 #B65BC2
triadic
#835BC2 #C2835B #5BC283
tetradic
#835BC2 #C25B66 #9AC25B #5BC2B6
square
#835BC2 #C25B66 #9AC25B #5BC2B6
split-complementary
#835BC2 #C2B65B #66C25B
monochromatic
#492C77 #643DA3 #835BC2 #A588D3 #C6B4E3

Accessibility & contrast

On white

4.95
#835BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#835BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835BC2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835BC2#FFFFFF#000000##FFFFFF
##835BC21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3470C6
Deuteranopia (green-blind)
#3F6FC0
Tritanopia (blue-blind)
#766F86
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #835bc2;
/* rgb */ color: rgb(131, 91, 194);
/* oklch */ color: oklch(56.1% 0.156 299.2);
Tailwind
colors: {
  custom: {
    50: '#aa8ad5',
    500: '#835bc2',
    950: '#000000',
  },
}
SCSS
$custom: #835bc2;
$custom-light: #aa8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#835bc2",
  "rgb": {
    "r": 131,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 263.301,
    "s": 45.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56108,
    "c": 0.15615,
    "h": 299.2
  },
  "luminance": 0.16203
}

Semantic roles & 50–950 ramp

primary
#835BC2
secondary
#C1D2A7
accent
#D552A3
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #835BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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