#835AEC#835AEC

#835AEC is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.8% C 0.209 H 291.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#835AEC
RGBrgb(131, 90, 236)
HSLhsl(257, 79%, 64%)
HSVhsv(257, 62%, 93%)
CMYKcmyk(44.5%, 61.9%, 0%, 7.5%)
CIE-LABlab(49.73, 49.98, -68.17)
CIE-LCHlch(49.73, 84.53, 306.25°)
OKLaboklab(58.8% 0.077 -0.1948)
OKLCHoklch(58.8% 0.209 291.6)
XYZxyz(28.1524, 18.1928, 81.3689)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835AEC #C3EC5A
analogous
#5A7AEC #835AEC #CC5AEC
triadic
#835AEC #EC835A #5AEC83
tetradic
#835AEC #EC5A7A #C3EC5A #5AECCC
square
#835AEC #EC5A7A #C3EC5A #5AECCC
split-complementary
#835AEC #ECCC5A #7AEC5A
monochromatic
#4215B7 #5A23E6 #835AEC #AC91F2 #D5C8F9

Accessibility & contrast

On white

4.53
#835AEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#835AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835AEC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835AEC#FFFFFF#000000##000000
##835AEC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#647C9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #835aec;
/* rgb */ color: rgb(131, 90, 236);
/* oklch */ color: oklch(58.8% 0.209 291.6);
Tailwind
colors: {
  custom: {
    50: '#ae8bf3',
    500: '#835aec',
    950: '#000000',
  },
}
SCSS
$custom: #835aec;
$custom-light: #ae8bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#835aec",
  "rgb": {
    "r": 131,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 256.849,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58797,
    "c": 0.20944,
    "h": 291.6
  },
  "luminance": 0.18194
}

Semantic roles & 50–950 ramp

primary
#835AEC
secondary
#DCEBB7
accent
#DC0AA1
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #835AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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