#835DFD#835DFD

#835DFD is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.5% C 0.226 H 288.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#835DFD
RGBrgb(131, 93, 253)
HSLhsl(254, 98%, 68%)
HSVhsv(254, 63%, 99%)
CMYKcmyk(48.2%, 63.2%, 0%, 0.8%)
CIE-LABlab(51.55, 53.02, -74.71)
CIE-LCHlch(51.55, 91.61, 305.36°)
OKLaboklab(60.5% 0.0725 -0.214)
OKLCHoklch(60.5% 0.226 288.7)
XYZxyz(30.9989, 19.7445, 95.0872)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835DFD #D7FD5D
analogous
#5D87FD #835DFD #D35DFD
triadic
#835DFD #FD835D #5DFD83
tetradic
#835DFD #FD5D87 #D7FD5D #5DFDD3
square
#835DFD #FD5D87 #D7FD5D #5DFDD3
split-complementary
#835DFD #FDD35D #87FD5D
monochromatic
#3703DD #5521FC #835DFD #B199FE #E0D6FE

Accessibility & contrast

On white

4.24
#835DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#835DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835DFD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835DFD#FFFFFF#000000##000000
##835DFD1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0077FA
Tritanopia (blue-blind)
#5984A5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #835dfd;
/* rgb */ color: rgb(131, 93, 253);
/* oklch */ color: oklch(60.5% 0.226 288.7);
Tailwind
colors: {
  custom: {
    50: '#b08dff',
    500: '#835dfd',
    950: '#000000',
  },
}
SCSS
$custom: #835dfd;
$custom-light: #b08dff;
$custom-dark: #000000;
JSON
{
  "hex": "#835dfd",
  "rgb": {
    "r": 131,
    "g": 93,
    "b": 253
  },
  "hsl": {
    "h": 254.25,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60498,
    "c": 0.22595,
    "h": 288.7
  },
  "luminance": 0.19746
}

Semantic roles & 50–950 ramp

primary
#835DFD
secondary
#E8F4C2
accent
#E600AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #835DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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