#835BE5#835BE5

#835BE5 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.4% C 0.200 H 292.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#835BE5
RGBrgb(131, 91, 229)
HSLhsl(257, 73%, 63%)
HSVhsv(257, 60%, 90%)
CMYKcmyk(42.8%, 60.3%, 0%, 10.2%)
CIE-LABlab(49.45, 47.53, -64.68)
CIE-LCHlch(49.45, 80.26, 306.31°)
OKLaboklab(58.44% 0.0763 -0.1845)
OKLCHoklch(58.44% 0.2 292.5)
XYZxyz(27.2401, 17.9638, 76.1457)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835BE5 #BDE55B
analogous
#5B78E5 #835BE5 #C85BE5
triadic
#835BE5 #E5835B #5BE583
tetradic
#835BE5 #E55B78 #BDE55B #5BE5C8
square
#835BE5 #E55B78 #BDE55B #5BE5C8
split-complementary
#835BE5 #E5C85B #78E55B
monochromatic
#451BAB #5B26DD #835BE5 #AB90ED #D3C5F6

Accessibility & contrast

On white

4.57
#835BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#835BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835BE5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835BE5#FFFFFF#000000##000000
##835BE51.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#677A97
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #835be5;
/* rgb */ color: rgb(131, 91, 229);
/* oklch */ color: oklch(58.4% 0.200 292.5);
Tailwind
colors: {
  custom: {
    50: '#ad8bee',
    500: '#835be5',
    950: '#000000',
  },
}
SCSS
$custom: #835be5;
$custom-light: #ad8bee;
$custom-dark: #000000;
JSON
{
  "hex": "#835be5",
  "rgb": {
    "r": 131,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 257.391,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58443,
    "c": 0.19968,
    "h": 292.5
  },
  "luminance": 0.17965
}

Semantic roles & 50–950 ramp

primary
#835BE5
secondary
#D8E7B5
accent
#D5119C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #835BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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