#835AF5#835AF5

#835AF5 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.5% C 0.220 H 290.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#835AF5
RGBrgb(131, 90, 245)
HSLhsl(256, 89%, 66%)
HSVhsv(256, 63%, 96%)
CMYKcmyk(46.5%, 63.3%, 0%, 3.9%)
CIE-LABlab(50.37, 52.43, -72.17)
CIE-LCHlch(50.37, 89.21, 306.00°)
OKLaboklab(59.46% 0.0762 -0.2065)
OKLCHoklch(59.46% 0.22 290.3)
XYZxyz(29.4930, 18.7291, 88.4296)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835AF5 #CCF55A
analogous
#5A7EF5 #835AF5 #D05AF5
triadic
#835AF5 #F5835A #5AF583
tetradic
#835AF5 #F55A7E #CCF55A #5AF5D0
square
#835AF5 #F55A7E #CCF55A #5AF5D0
split-complementary
#835AF5 #F5D05A #7EF55A
monochromatic
#3E0CC8 #5820F2 #835AF5 #AE94F8 #DACDFC

Accessibility & contrast

On white

4.42
#835AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#835AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835AF5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835AF5#FFFFFF#000000##000000
##835AF51.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFA
Deuteranopia (green-blind)
#0074F2
Tritanopia (blue-blind)
#5F7FA0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #835af5;
/* rgb */ color: rgb(131, 90, 245);
/* oklch */ color: oklch(59.5% 0.220 290.3);
Tailwind
colors: {
  custom: {
    50: '#af8bf9',
    500: '#835af5',
    950: '#000000',
  },
}
SCSS
$custom: #835af5;
$custom-light: #af8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#835af5",
  "rgb": {
    "r": 131,
    "g": 90,
    "b": 245
  },
  "hsl": {
    "h": 255.871,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59463,
    "c": 0.22016,
    "h": 290.3
  },
  "luminance": 0.1873
}

Semantic roles & 50–950 ramp

primary
#835AF5
secondary
#E2EFBC
accent
#E500A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #835AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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