#835DF4#835DF4

#835DF4 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.215 H 289.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#835DF4
RGBrgb(131, 93, 244)
HSLhsl(255, 87%, 66%)
HSVhsv(255, 62%, 96%)
CMYKcmyk(46.3%, 61.9%, 0%, 4.3%)
CIE-LABlab(50.90, 50.54, -70.75)
CIE-LCHlch(50.90, 86.94, 305.54°)
OKLaboklab(59.83% 0.0733 -0.2024)
OKLCHoklch(59.83% 0.215 289.9)
XYZxyz(29.5989, 19.1845, 87.7138)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835DF4 #CEF45D
analogous
#5D82F4 #835DF4 #CE5DF4
triadic
#835DF4 #F4835D #5DF483
tetradic
#835DF4 #F45D82 #CEF45D #5DF4CE
square
#835DF4 #F45D82 #CEF45D #5DF4CE
split-complementary
#835DF4 #F4CE5D #82F45D
monochromatic
#3D0EC9 #5724F0 #835DF4 #AF96F8 #DBD0FC

Accessibility & contrast

On white

4.34
#835DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#835DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835DF4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835DF4#FFFFFF#000000##000000
##835DF41.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF9
Deuteranopia (green-blind)
#0076F1
Tritanopia (blue-blind)
#5F80A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #835df4;
/* rgb */ color: rgb(131, 93, 244);
/* oklch */ color: oklch(59.8% 0.215 289.9);
Tailwind
colors: {
  custom: {
    50: '#af8df9',
    500: '#835df4',
    950: '#000000',
  },
}
SCSS
$custom: #835df4;
$custom-light: #af8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#835df4",
  "rgb": {
    "r": 131,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 255.099,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59828,
    "c": 0.21521,
    "h": 289.9
  },
  "luminance": 0.19186
}

Semantic roles & 50–950 ramp

primary
#835DF4
secondary
#E3EFBE
accent
#E402AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #835DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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