#835BCA#835BCA

#835BCA is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.6% C 0.166 H 297.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#835BCA
RGBrgb(131, 91, 202)
HSLhsl(262, 51%, 57%)
HSVhsv(262, 55%, 79%)
CMYKcmyk(35.1%, 55%, 0%, 20.8%)
CIE-LABlab(47.72, 40.33, -52.10)
CIE-LCHlch(47.72, 65.89, 307.75°)
OKLaboklab(56.61% 0.0767 -0.1475)
OKLCHoklch(56.61% 0.166 297.5)
XYZxyz(23.7592, 16.5714, 57.8125)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835BCA #A2CA5B
analogous
#5B6ACA #835BCA #BB5BCA
triadic
#835BCA #CA835B #5BCA83
tetradic
#835BCA #CA5B6A #A2CA5B #5BCABB
square
#835BCA #CA5B6A #A2CA5B #5BCABB
split-complementary
#835BCA #CABB5B #6ACA5B
monochromatic
#492A81 #6339AF #835BCA #A689D9 #C9B8E8

Accessibility & contrast

On white

4.87
#835BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#835BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835BCA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835BCA#FFFFFF#000000##FFFFFF
##835BCA1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CE
Deuteranopia (green-blind)
#3770C7
Tritanopia (blue-blind)
#73728A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #835bca;
/* rgb */ color: rgb(131, 91, 202);
/* oklch */ color: oklch(56.6% 0.166 297.5);
Tailwind
colors: {
  custom: {
    50: '#ab8bdb',
    500: '#835bca',
    950: '#000000',
  },
}
SCSS
$custom: #835bca;
$custom-light: #ab8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#835bca",
  "rgb": {
    "r": 131,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 261.622,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56614,
    "c": 0.16626,
    "h": 297.5
  },
  "luminance": 0.16572
}

Semantic roles & 50–950 ramp

primary
#835BCA
secondary
#C7D7AA
accent
#DB4DA8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #835BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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