#835FF5#835FF5

#835FF5 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.2% C 0.214 H 289.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#835FF5
RGBrgb(131, 95, 245)
HSLhsl(254, 88%, 67%)
HSVhsv(254, 61%, 96%)
CMYKcmyk(46.5%, 61.2%, 0%, 3.9%)
CIE-LABlab(51.38, 49.72, -70.52)
CIE-LCHlch(51.38, 86.29, 305.18°)
OKLaboklab(60.2% 0.0711 -0.2017)
OKLCHoklch(60.2% 0.214 289.4)
XYZxyz(29.9290, 19.6011, 88.5749)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835FF5 #D1F55F
analogous
#5F86F5 #835FF5 #CE5FF5
triadic
#835FF5 #F5835F #5FF583
tetradic
#835FF5 #F55F86 #D1F55F #5FF5CE
square
#835FF5 #F55F86 #D1F55F #5FF5CE
split-complementary
#835FF5 #F5CE5F #86F55F
monochromatic
#3B0DCD #5625F1 #835FF5 #B099F9 #DCD2FC

Accessibility & contrast

On white

4.27
#835FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#835FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835FF5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835FF5#FFFFFF#000000##000000
##835FF51.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFA
Deuteranopia (green-blind)
#0077F2
Tritanopia (blue-blind)
#5E82A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #835ff5;
/* rgb */ color: rgb(131, 95, 245);
/* oklch */ color: oklch(60.2% 0.214 289.4);
Tailwind
colors: {
  custom: {
    50: '#af8ef9',
    500: '#835ff5',
    950: '#000000',
  },
}
SCSS
$custom: #835ff5;
$custom-light: #af8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#835ff5",
  "rgb": {
    "r": 131,
    "g": 95,
    "b": 245
  },
  "hsl": {
    "h": 254.4,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.602,
    "c": 0.21388,
    "h": 289.4
  },
  "luminance": 0.19602
}

Semantic roles & 50–950 ramp

primary
#835FF5
secondary
#E4F0C0
accent
#E501AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #835FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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