#835AEF#835AEF

#835AEF is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.0% C 0.213 H 291.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#835AEF
RGBrgb(131, 90, 239)
HSLhsl(257, 82%, 65%)
HSVhsv(257, 62%, 94%)
CMYKcmyk(45.2%, 62.3%, 0%, 6.3%)
CIE-LABlab(49.94, 50.80, -69.51)
CIE-LCHlch(49.94, 86.09, 306.16°)
OKLaboklab(59.02% 0.0767 -0.1987)
OKLCHoklch(59.02% 0.213 291.1)
XYZxyz(28.5919, 18.3686, 83.6836)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835AEF #C6EF5A
analogous
#5A7CEF #835AEF #CD5AEF
triadic
#835AEF #EF835A #5AEF83
tetradic
#835AEF #EF5A7C #C6EF5A #5AEFCD
square
#835AEF #EF5A7C #C6EF5A #5AEFCD
split-complementary
#835AEF #EFCD5A #7CEF5A
monochromatic
#4112BC #5922EA #835AEF #AD92F4 #D7CAFA

Accessibility & contrast

On white

4.49
#835AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#835AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835AEF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835AEF#FFFFFF#000000##000000
##835AEF1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#627D9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #835aef;
/* rgb */ color: rgb(131, 90, 239);
/* oklch */ color: oklch(59.0% 0.213 291.1);
Tailwind
colors: {
  custom: {
    50: '#ae8bf5',
    500: '#835aef',
    950: '#000000',
  },
}
SCSS
$custom: #835aef;
$custom-light: #ae8bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#835aef",
  "rgb": {
    "r": 131,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 256.51,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59017,
    "c": 0.21303,
    "h": 291.1
  },
  "luminance": 0.1837
}

Semantic roles & 50–950 ramp

primary
#835AEF
secondary
#DEECB9
accent
#DF07A3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #835AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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