#835DF6#835DF6

#835DF6 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.218 H 289.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#835DF6
RGBrgb(131, 93, 246)
HSLhsl(255, 89%, 66%)
HSVhsv(255, 62%, 96%)
CMYKcmyk(46.7%, 62.2%, 0%, 3.5%)
CIE-LABlab(51.04, 51.09, -71.63)
CIE-LCHlch(51.04, 87.98, 305.50°)
OKLaboklab(59.98% 0.0731 -0.205)
OKLCHoklch(59.98% 0.218 289.6)
XYZxyz(29.9042, 19.3066, 89.3218)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835DF6 #D0F65D
analogous
#5D84F6 #835DF6 #D05DF6
triadic
#835DF6 #F6835D #5DF683
tetradic
#835DF6 #F65D84 #D0F65D #5DF6D0
square
#835DF6 #F65D84 #D0F65D #5DF6D0
split-complementary
#835DF6 #F6D05D #84F65D
monochromatic
#3C0BCD #5723F3 #835DF6 #AF97F9 #DCD1FC

Accessibility & contrast

On white

4.32
#835DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#835DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835DF6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835DF6#FFFFFF#000000##000000
##835DF61.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #835df6;
/* rgb */ color: rgb(131, 93, 246);
/* oklch */ color: oklch(60.0% 0.218 289.6);
Tailwind
colors: {
  custom: {
    50: '#af8dfa',
    500: '#835df6',
    950: '#000000',
  },
}
SCSS
$custom: #835df6;
$custom-light: #af8dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#835df6",
  "rgb": {
    "r": 131,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 254.902,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59975,
    "c": 0.21762,
    "h": 289.6
  },
  "luminance": 0.19308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #835DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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