#835BE2#835BE2

#835BE2 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.2% C 0.196 H 293.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#835BE2
RGBrgb(131, 91, 226)
HSLhsl(258, 70%, 62%)
HSVhsv(258, 60%, 89%)
CMYKcmyk(42%, 59.7%, 0%, 11.4%)
CIE-LABlab(49.25, 46.72, -63.31)
CIE-LCHlch(49.25, 78.68, 306.43°)
OKLaboklab(58.23% 0.0765 -0.1805)
OKLCHoklch(58.23% 0.196 293)
XYZxyz(26.8249, 17.7977, 73.9587)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835BE2 #BAE25B
analogous
#5B77E2 #835BE2 #C75BE2
triadic
#835BE2 #E2835B #5BE283
tetradic
#835BE2 #E25B77 #BAE25B #5BE2C7
square
#835BE2 #E25B77 #BAE25B #5BE2C7
split-complementary
#835BE2 #E2C75B #77E25B
monochromatic
#461DA5 #5C27D9 #835BE2 #AA8FEB #D2C3F4

Accessibility & contrast

On white

4.61
#835BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#835BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #835BE2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835BE2#FFFFFF#000000##FFFFFF
##835BE21.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#0073DF
Tritanopia (blue-blind)
#697996
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #835be2;
/* rgb */ color: rgb(131, 91, 226);
/* oklch */ color: oklch(58.2% 0.196 293.0);
Tailwind
colors: {
  custom: {
    50: '#ad8bec',
    500: '#835be2',
    950: '#000000',
  },
}
SCSS
$custom: #835be2;
$custom-light: #ad8bec;
$custom-dark: #000000;
JSON
{
  "hex": "#835be2",
  "rgb": {
    "r": 131,
    "g": 91,
    "b": 226
  },
  "hsl": {
    "h": 257.778,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58231,
    "c": 0.19603,
    "h": 293
  },
  "luminance": 0.17798
}

Semantic roles & 50–950 ramp

primary
#835BE2
secondary
#D6E5B4
accent
#D2149A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #835BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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