#835AE4#835AE4

#835AE4 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.2% C 0.200 H 292.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#835AE4
RGBrgb(131, 90, 228)
HSLhsl(258, 72%, 62%)
HSVhsv(258, 61%, 89%)
CMYKcmyk(42.5%, 60.5%, 0%, 10.6%)
CIE-LABlab(49.18, 47.81, -64.56)
CIE-LCHlch(49.18, 80.33, 306.52°)
OKLaboklab(58.22% 0.0775 -0.1842)
OKLCHoklch(58.22% 0.2 292.8)
XYZxyz(27.0160, 17.7383, 75.3842)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835AE4 #BBE45A
analogous
#5A76E4 #835AE4 #C85AE4
triadic
#835AE4 #E4835A #5AE483
tetradic
#835AE4 #E45A76 #BBE45A #5AE4C8
square
#835AE4 #E45A76 #BBE45A #5AE4C8
split-complementary
#835AE4 #E4C85A #76E45A
monochromatic
#451CA8 #5B25DB #835AE4 #AB8FED #D2C3F5

Accessibility & contrast

On white

4.62
#835AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#835AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #835AE4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835AE4#FFFFFF#000000##FFFFFF
##835AE41.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#687997
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #835ae4;
/* rgb */ color: rgb(131, 90, 228);
/* oklch */ color: oklch(58.2% 0.200 292.8);
Tailwind
colors: {
  custom: {
    50: '#ad8aed',
    500: '#835ae4',
    950: '#000000',
  },
}
SCSS
$custom: #835ae4;
$custom-light: #ad8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#835ae4",
  "rgb": {
    "r": 131,
    "g": 90,
    "b": 228
  },
  "hsl": {
    "h": 257.826,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58221,
    "c": 0.1998,
    "h": 292.8
  },
  "luminance": 0.17739
}

Semantic roles & 50–950 ramp

primary
#835AE4
secondary
#D7E6B4
accent
#D4129A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #835AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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