#835AE3#835AE3

#835AE3 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.1% C 0.199 H 293.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#835AE3
RGBrgb(131, 90, 227)
HSLhsl(258, 71%, 62%)
HSVhsv(258, 60%, 89%)
CMYKcmyk(42.3%, 60.4%, 0%, 11%)
CIE-LABlab(49.11, 47.54, -64.10)
CIE-LCHlch(49.11, 79.81, 306.56°)
OKLaboklab(58.15% 0.0775 -0.1828)
OKLCHoklch(58.15% 0.199 293)
XYZxyz(26.8776, 17.6829, 74.6552)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835AE3 #BAE35A
analogous
#5A76E3 #835AE3 #C75AE3
triadic
#835AE3 #E3835A #5AE383
tetradic
#835AE3 #E35A76 #BAE35A #5AE3C7
square
#835AE3 #E35A76 #BAE35A #5AE3C7
split-complementary
#835AE3 #E3C75A #76E35A
monochromatic
#461CA6 #5C26DA #835AE3 #AA8EEC #D2C3F5

Accessibility & contrast

On white

4.63
#835AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#835AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #835AE3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835AE3#FFFFFF#000000##FFFFFF
##835AE31.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#0072E0
Tritanopia (blue-blind)
#687996
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #835ae3;
/* rgb */ color: rgb(131, 90, 227);
/* oklch */ color: oklch(58.1% 0.199 293.0);
Tailwind
colors: {
  custom: {
    50: '#ad8aed',
    500: '#835ae3',
    950: '#000000',
  },
}
SCSS
$custom: #835ae3;
$custom-light: #ad8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#835ae3",
  "rgb": {
    "r": 131,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 257.956,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5815,
    "c": 0.19858,
    "h": 293
  },
  "luminance": 0.17684
}

Semantic roles & 50–950 ramp

primary
#835AE3
secondary
#D6E6B3
accent
#D31299
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #835AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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