#835BF1#835BF1

#835BF1 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.3% C 0.214 H 290.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#835BF1
RGBrgb(131, 91, 241)
HSLhsl(256, 84%, 65%)
HSVhsv(256, 62%, 95%)
CMYKcmyk(45.6%, 62.2%, 0%, 5.5%)
CIE-LABlab(50.28, 50.80, -70.07)
CIE-LCHlch(50.28, 86.55, 305.94°)
OKLaboklab(59.31% 0.0756 -0.2004)
OKLCHoklch(59.31% 0.214 290.7)
XYZxyz(28.9739, 18.6573, 85.2766)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835BF1 #C9F15B
analogous
#5B7EF1 #835BF1 #CE5BF1
triadic
#835BF1 #F1835B #5BF183
tetradic
#835BF1 #F15B7E #C9F15B #5BF1CE
square
#835BF1 #F15B7E #C9F15B #5BF1CE
split-complementary
#835BF1 #F1CE5B #7EF15B
monochromatic
#4010C1 #5823EC #835BF1 #AE93F6 #D8CCFB

Accessibility & contrast

On white

4.44
#835BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#835BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835BF1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835BF1#FFFFFF#000000##000000
##835BF11.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF6
Deuteranopia (green-blind)
#0074EE
Tritanopia (blue-blind)
#617E9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #835bf1;
/* rgb */ color: rgb(131, 91, 241);
/* oklch */ color: oklch(59.3% 0.214 290.7);
Tailwind
colors: {
  custom: {
    50: '#af8bf7',
    500: '#835bf1',
    950: '#000000',
  },
}
SCSS
$custom: #835bf1;
$custom-light: #af8bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#835bf1",
  "rgb": {
    "r": 131,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 256,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59311,
    "c": 0.21415,
    "h": 290.7
  },
  "luminance": 0.18658
}

Semantic roles & 50–950 ramp

primary
#835BF1
secondary
#E0EDBA
accent
#E105A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #835BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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