#835BDB#835BDB

#835BDB is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.7% C 0.187 H 294.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#835BDB
RGBrgb(131, 91, 219)
HSLhsl(259, 64%, 61%)
HSVhsv(259, 58%, 86%)
CMYKcmyk(40.2%, 58.4%, 0%, 14.1%)
CIE-LABlab(48.79, 44.84, -60.09)
CIE-LCHlch(48.79, 74.98, 306.73°)
OKLaboklab(57.75% 0.0767 -0.171)
OKLCHoklch(57.75% 0.187 294.2)
XYZxyz(25.8839, 17.4213, 69.0030)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835BDB #B3DB5B
analogous
#5B73DB #835BDB #C35BDB
triadic
#835BDB #DB835B #5BDB83
tetradic
#835BDB #DB5B73 #B3DB5B #5BDBC3
square
#835BDB #DB5B73 #B3DB5B #5BDBC3
split-complementary
#835BDB #DBC35B #73DB5B
monochromatic
#47229A #5F2DCC #835BDB #A98DE6 #CFBFF1

Accessibility & contrast

On white

4.68
#835BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#835BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835BDB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835BDB#FFFFFF#000000##FFFFFF
##835BDB1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#1C72D8
Tritanopia (blue-blind)
#6C7792
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #835bdb;
/* rgb */ color: rgb(131, 91, 219);
/* oklch */ color: oklch(57.7% 0.187 294.2);
Tailwind
colors: {
  custom: {
    50: '#ac8be7',
    500: '#835bdb',
    950: '#000000',
  },
}
SCSS
$custom: #835bdb;
$custom-light: #ac8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#835bdb",
  "rgb": {
    "r": 131,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 258.75,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57745,
    "c": 0.18745,
    "h": 294.2
  },
  "luminance": 0.17422
}

Semantic roles & 50–950 ramp

primary
#835BDB
secondary
#D2E1B1
accent
#CC1A94
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #835BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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