#835AEB#835AEB

#835AEB is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.7% C 0.208 H 291.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#835AEB
RGBrgb(131, 90, 235)
HSLhsl(257, 78%, 64%)
HSVhsv(257, 62%, 92%)
CMYKcmyk(44.3%, 61.7%, 0%, 7.8%)
CIE-LABlab(49.66, 49.71, -67.72)
CIE-LCHlch(49.66, 84.00, 306.28°)
OKLaboklab(58.73% 0.077 -0.1935)
OKLCHoklch(58.73% 0.208 291.7)
XYZxyz(28.0075, 18.1349, 80.6059)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835AEB #C2EB5A
analogous
#5A79EB #835AEB #CC5AEB
triadic
#835AEB #EB835A #5AEB83
tetradic
#835AEB #EB5A79 #C2EB5A #5AEBCC
square
#835AEB #EB5A79 #C2EB5A #5AEBCC
split-complementary
#835AEB #EBCC5A #79EB5A
monochromatic
#4316B5 #5A23E4 #835AEB #AC91F2 #D5C7F8

Accessibility & contrast

On white

4.54
#835AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#835AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835AEB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835AEB#FFFFFF#000000##000000
##835AEB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#647C9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #835aeb;
/* rgb */ color: rgb(131, 90, 235);
/* oklch */ color: oklch(58.7% 0.208 291.7);
Tailwind
colors: {
  custom: {
    50: '#ae8af2',
    500: '#835aeb',
    950: '#000000',
  },
}
SCSS
$custom: #835aeb;
$custom-light: #ae8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#835aeb",
  "rgb": {
    "r": 131,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 256.966,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58725,
    "c": 0.20824,
    "h": 291.7
  },
  "luminance": 0.18136
}

Semantic roles & 50–950 ramp

primary
#835AEB
secondary
#DCEAB7
accent
#DB0BA0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #835AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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