#835BD9#835BD9

#835BD9 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.6% C 0.185 H 294.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#835BD9
RGBrgb(131, 91, 217)
HSLhsl(259, 62%, 60%)
HSVhsv(259, 58%, 85%)
CMYKcmyk(39.6%, 58.1%, 0%, 14.9%)
CIE-LABlab(48.66, 44.30, -59.16)
CIE-LCHlch(48.66, 73.91, 306.83°)
OKLaboklab(57.61% 0.0768 -0.1683)
OKLCHoklch(57.61% 0.185 294.5)
XYZxyz(25.6222, 17.3166, 67.6247)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835BD9 #B1D95B
analogous
#5B72D9 #835BD9 #C25BD9
triadic
#835BD9 #D9835B #5BD983
tetradic
#835BD9 #D95B72 #B1D95B #5BD9C2
square
#835BD9 #D95B72 #B1D95B #5BD9C2
split-complementary
#835BD9 #D9C25B #72D95B
monochromatic
#482397 #5F2EC8 #835BD9 #A98DE5 #CEBEF0

Accessibility & contrast

On white

4.70
#835BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#835BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835BD9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835BD9#FFFFFF#000000##FFFFFF
##835BD91.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0875DD
Deuteranopia (green-blind)
#2172D6
Tritanopia (blue-blind)
#6D7691
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #835bd9;
/* rgb */ color: rgb(131, 91, 217);
/* oklch */ color: oklch(57.6% 0.185 294.5);
Tailwind
colors: {
  custom: {
    50: '#ac8be5',
    500: '#835bd9',
    950: '#000000',
  },
}
SCSS
$custom: #835bd9;
$custom-light: #ac8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#835bd9",
  "rgb": {
    "r": 131,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 259.048,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57608,
    "c": 0.18497,
    "h": 294.5
  },
  "luminance": 0.17317
}

Semantic roles & 50–950 ramp

primary
#835BD9
secondary
#D1E0B0
accent
#CA1B93
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #835BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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