#835BDF#835BDF

#835BDF is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.0% C 0.192 H 293.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#835BDF
RGBrgb(131, 91, 223)
HSLhsl(258, 67%, 62%)
HSVhsv(258, 59%, 87%)
CMYKcmyk(41.3%, 59.2%, 0%, 12.5%)
CIE-LABlab(49.05, 45.91, -61.93)
CIE-LCHlch(49.05, 77.10, 306.55°)
OKLaboklab(58.02% 0.0766 -0.1764)
OKLCHoklch(58.02% 0.192 293.5)
XYZxyz(26.4169, 17.6345, 71.8097)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835BDF #B7DF5B
analogous
#5B75DF #835BDF #C55BDF
triadic
#835BDF #DF835B #5BDF83
tetradic
#835BDF #DF5B75 #B7DF5B #5BDFC5
square
#835BDF #DF5B75 #B7DF5B #5BDFC5
split-complementary
#835BDF #DFC55B #75DF5B
monochromatic
#461FA0 #5D29D4 #835BDF #AA8EE9 #D0C1F3

Accessibility & contrast

On white

4.64
#835BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#835BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #835BDF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835BDF#FFFFFF#000000##FFFFFF
##835BDF1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#1072DC
Tritanopia (blue-blind)
#6A7894
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #835bdf;
/* rgb */ color: rgb(131, 91, 223);
/* oklch */ color: oklch(58.0% 0.192 293.5);
Tailwind
colors: {
  custom: {
    50: '#ad8bea',
    500: '#835bdf',
    950: '#000000',
  },
}
SCSS
$custom: #835bdf;
$custom-light: #ad8bea;
$custom-dark: #000000;
JSON
{
  "hex": "#835bdf",
  "rgb": {
    "r": 131,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 258.182,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58021,
    "c": 0.19236,
    "h": 293.5
  },
  "luminance": 0.17635
}

Semantic roles & 50–950 ramp

primary
#835BDF
secondary
#D5E3B2
accent
#CF1697
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #835BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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