#835EF6#835EF6

#835EF6 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.1% C 0.216 H 289.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#835EF6
RGBrgb(131, 94, 246)
HSLhsl(255, 89%, 67%)
HSVhsv(255, 62%, 96%)
CMYKcmyk(46.7%, 61.8%, 0%, 3.5%)
CIE-LABlab(51.25, 50.54, -71.30)
CIE-LCHlch(51.25, 87.40, 305.33°)
OKLaboklab(60.12% 0.0721 -0.204)
OKLCHoklch(60.12% 0.216 289.5)
XYZxyz(29.9926, 19.4833, 89.3513)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835EF6 #D1F65E
analogous
#5E85F6 #835EF6 #CF5EF6
triadic
#835EF6 #F6835E #5EF683
tetradic
#835EF6 #F65E85 #D1F65E #5EF6CF
square
#835EF6 #F65E85 #D1F65E #5EF6CF
split-complementary
#835EF6 #F6CF5E #85F65E
monochromatic
#3B0CCE #5624F3 #835EF6 #B098F9 #DCD2FC

Accessibility & contrast

On white

4.29
#835EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#835EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835EF6
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835EF6#FFFFFF#000000##000000
##835EF61.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0076F3
Tritanopia (blue-blind)
#5E82A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #835ef6;
/* rgb */ color: rgb(131, 94, 246);
/* oklch */ color: oklch(60.1% 0.216 289.5);
Tailwind
colors: {
  custom: {
    50: '#af8dfa',
    500: '#835ef6',
    950: '#000000',
  },
}
SCSS
$custom: #835ef6;
$custom-light: #af8dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#835ef6",
  "rgb": {
    "r": 131,
    "g": 94,
    "b": 246
  },
  "hsl": {
    "h": 254.605,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60123,
    "c": 0.21635,
    "h": 289.5
  },
  "luminance": 0.19485
}

Semantic roles & 50–950 ramp

primary
#835EF6
secondary
#E4F0BF
accent
#E600AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #835EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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