#835BD8#835BD8

#835BD8 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.5% C 0.184 H 294.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#835BD8
RGBrgb(131, 91, 216)
HSLhsl(259, 62%, 60%)
HSVhsv(259, 58%, 85%)
CMYKcmyk(39.4%, 57.9%, 0%, 15.3%)
CIE-LABlab(48.59, 44.04, -58.70)
CIE-LCHlch(48.59, 73.38, 306.88°)
OKLaboklab(57.54% 0.0768 -0.1669)
OKLCHoklch(57.54% 0.184 294.7)
XYZxyz(25.4926, 17.2648, 66.9417)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835BD8 #B0D85B
analogous
#5B71D8 #835BD8 #C15BD8
triadic
#835BD8 #D8835B #5BD883
tetradic
#835BD8 #D85B71 #B0D85B #5BD8C1
square
#835BD8 #D85B71 #B0D85B #5BD8C1
split-complementary
#835BD8 #D8C15B #71D85B
monochromatic
#482395 #602FC7 #835BD8 #A88CE4 #CEBEF0

Accessibility & contrast

On white

4.72
#835BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#835BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835BD8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835BD8#FFFFFF#000000##FFFFFF
##835BD81.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D75DC
Deuteranopia (green-blind)
#2371D5
Tritanopia (blue-blind)
#6D7691
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #835bd8;
/* rgb */ color: rgb(131, 91, 216);
/* oklch */ color: oklch(57.5% 0.184 294.7);
Tailwind
colors: {
  custom: {
    50: '#ac8be5',
    500: '#835bd8',
    950: '#000000',
  },
}
SCSS
$custom: #835bd8;
$custom-light: #ac8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#835bd8",
  "rgb": {
    "r": 131,
    "g": 91,
    "b": 216
  },
  "hsl": {
    "h": 259.2,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5754,
    "c": 0.18373,
    "h": 294.7
  },
  "luminance": 0.17265
}

Semantic roles & 50–950 ramp

primary
#835BD8
secondary
#D0DFAF
accent
#C91C92
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #835BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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