#835DF5#835DF5

#835DF5 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.9% C 0.216 H 289.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#835DF5
RGBrgb(131, 93, 245)
HSLhsl(255, 88%, 66%)
HSVhsv(255, 62%, 96%)
CMYKcmyk(46.5%, 62%, 0%, 3.9%)
CIE-LABlab(50.97, 50.81, -71.19)
CIE-LCHlch(50.97, 87.46, 305.52°)
OKLaboklab(59.9% 0.0732 -0.2037)
OKLCHoklch(59.9% 0.216 289.8)
XYZxyz(29.7512, 19.2454, 88.5156)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835DF5 #CFF55D
analogous
#5D83F5 #835DF5 #CF5DF5
triadic
#835DF5 #F5835D #5DF583
tetradic
#835DF5 #F55D83 #CFF55D #5DF5CF
square
#835DF5 #F55D83 #CFF55D #5DF5CF
split-complementary
#835DF5 #F5CF5D #83F55D
monochromatic
#3C0DCB #5723F1 #835DF5 #AF97F9 #DBD0FC

Accessibility & contrast

On white

4.33
#835DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#835DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835DF5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835DF5#FFFFFF#000000##000000
##835DF51.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFA
Deuteranopia (green-blind)
#0076F2
Tritanopia (blue-blind)
#5F81A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #835df5;
/* rgb */ color: rgb(131, 93, 245);
/* oklch */ color: oklch(59.9% 0.216 289.8);
Tailwind
colors: {
  custom: {
    50: '#af8df9',
    500: '#835df5',
    950: '#000000',
  },
}
SCSS
$custom: #835df5;
$custom-light: #af8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#835df5",
  "rgb": {
    "r": 131,
    "g": 93,
    "b": 245
  },
  "hsl": {
    "h": 255,
    "s": 88.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59901,
    "c": 0.21641,
    "h": 289.8
  },
  "luminance": 0.19247
}

Semantic roles & 50–950 ramp

primary
#835DF5
secondary
#E3F0BE
accent
#E501AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #835DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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