#835BF5#835BF5

#835BF5 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.6% C 0.219 H 290.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#835BF5
RGBrgb(131, 91, 245)
HSLhsl(256, 89%, 66%)
HSVhsv(256, 63%, 96%)
CMYKcmyk(46.5%, 62.9%, 0%, 3.9%)
CIE-LABlab(50.57, 51.89, -71.85)
CIE-LCHlch(50.57, 88.63, 305.84°)
OKLaboklab(59.61% 0.0752 -0.2056)
OKLCHoklch(59.61% 0.219 290.1)
XYZxyz(29.5779, 18.8989, 88.4579)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835BF5 #CDF55B
analogous
#5B80F5 #835BF5 #D05BF5
triadic
#835BF5 #F5835B #5BF583
tetradic
#835BF5 #F55B80 #CDF55B #5BF5D0
square
#835BF5 #F55B80 #CDF55B #5BF5D0
split-complementary
#835BF5 #F5D05B #80F55B
monochromatic
#3D0CC9 #5721F1 #835BF5 #AF95F9 #DACEFC

Accessibility & contrast

On white

4.39
#835BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#835BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835BF5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835BF5#FFFFFF#000000##000000
##835BF51.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFA
Deuteranopia (green-blind)
#0075F2
Tritanopia (blue-blind)
#5F80A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #835bf5;
/* rgb */ color: rgb(131, 91, 245);
/* oklch */ color: oklch(59.6% 0.219 290.1);
Tailwind
colors: {
  custom: {
    50: '#af8bf9',
    500: '#835bf5',
    950: '#000000',
  },
}
SCSS
$custom: #835bf5;
$custom-light: #af8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#835bf5",
  "rgb": {
    "r": 131,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 255.584,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59608,
    "c": 0.21892,
    "h": 290.1
  },
  "luminance": 0.189
}

Semantic roles & 50–950 ramp

primary
#835BF5
secondary
#E2EFBC
accent
#E500AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #835BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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