#835FD8#835FD8

#835FD8 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.2% C 0.178 H 293.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#835FD8
RGBrgb(131, 95, 216)
HSLhsl(258, 61%, 61%)
HSVhsv(258, 56%, 85%)
CMYKcmyk(39.4%, 56%, 0%, 15.3%)
CIE-LABlab(49.46, 41.79, -57.31)
CIE-LCHlch(49.46, 70.92, 306.10°)
OKLaboklab(58.18% 0.072 -0.1628)
OKLCHoklch(58.18% 0.178 293.9)
XYZxyz(25.8437, 17.9670, 67.0588)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835FD8 #B4D85F
analogous
#5F77D8 #835FD8 #BF5FD8
triadic
#835FD8 #D8835F #5FD883
tetradic
#835FD8 #D85F77 #B4D85F #5FD8BF
square
#835FD8 #D85F77 #B4D85F #5FD8BF
split-complementary
#835FD8 #D8BF5F #77D85F
monochromatic
#472598 #5E31C9 #835FD8 #A990E4 #CFC1F0

Accessibility & contrast

On white

4.57
#835FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#835FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835FD8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835FD8#FFFFFF#000000##000000
##835FD81.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2077DC
Deuteranopia (green-blind)
#2C74D5
Tritanopia (blue-blind)
#6D7992
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #835fd8;
/* rgb */ color: rgb(131, 95, 216);
/* oklch */ color: oklch(58.2% 0.178 293.9);
Tailwind
colors: {
  custom: {
    50: '#ac8de5',
    500: '#835fd8',
    950: '#000000',
  },
}
SCSS
$custom: #835fd8;
$custom-light: #ac8de5;
$custom-dark: #000000;
JSON
{
  "hex": "#835fd8",
  "rgb": {
    "r": 131,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 257.851,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58175,
    "c": 0.17806,
    "h": 293.9
  },
  "luminance": 0.17968
}

Semantic roles & 50–950 ramp

primary
#835FD8
secondary
#D3E0B3
accent
#C81D95
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #835FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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