#835BCE#835BCE

#835BCE is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.9% C 0.171 H 296.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#835BCE
RGBrgb(131, 91, 206)
HSLhsl(261, 54%, 58%)
HSVhsv(261, 56%, 81%)
CMYKcmyk(36.4%, 55.8%, 0%, 19.2%)
CIE-LABlab(47.96, 41.38, -54.00)
CIE-LCHlch(47.96, 68.03, 307.46°)
OKLaboklab(56.87% 0.0768 -0.1531)
OKLCHoklch(56.87% 0.171 296.6)
XYZxyz(24.2389, 16.7633, 60.3392)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835BCE #A6CE5B
analogous
#5B6CCE #835BCE #BD5BCE
triadic
#835BCE #CE835B #5BCE83
tetradic
#835BCE #CE5B6C #A6CE5B #5BCEBD
square
#835BCE #CE5B6C #A6CE5B #5BCEBD
split-complementary
#835BCE #CEBD5B #6CCE5B
monochromatic
#492886 #6336B6 #835BCE #A78ADC #CAB9EA

Accessibility & contrast

On white

4.82
#835BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#835BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835BCE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835BCE#FFFFFF#000000##FFFFFF
##835BCE1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2572D2
Deuteranopia (green-blind)
#3370CB
Tritanopia (blue-blind)
#71738C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #835bce;
/* rgb */ color: rgb(131, 91, 206);
/* oklch */ color: oklch(56.9% 0.171 296.6);
Tailwind
colors: {
  custom: {
    50: '#ab8bde',
    500: '#835bce',
    950: '#000000',
  },
}
SCSS
$custom: #835bce;
$custom-light: #ab8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#835bce",
  "rgb": {
    "r": 131,
    "g": 91,
    "b": 206
  },
  "hsl": {
    "h": 260.87,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56873,
    "c": 0.17129,
    "h": 296.6
  },
  "luminance": 0.16764
}

Semantic roles & 50–950 ramp

primary
#835BCE
secondary
#C9D9AB
accent
#DD4AAA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #835BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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