#835FD9#835FD9

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

Color values

HEX#835FD9
RGBrgb(131, 95, 217)
HSLhsl(258, 62%, 61%)
HSVhsv(258, 56%, 85%)
CMYKcmyk(39.6%, 56.2%, 0%, 14.9%)
CIE-LABlab(49.52, 42.05, -57.77)
CIE-LCHlch(49.52, 71.46, 306.05°)
OKLaboklab(58.24% 0.072 -0.1642)
OKLCHoklch(58.24% 0.179 293.7)
XYZxyz(25.9733, 18.0188, 67.7417)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835FD9 #B5D95F
analogous
#5F78D9 #835FD9 #C05FD9
triadic
#835FD9 #D9835F #5FD983
tetradic
#835FD9 #D95F78 #B5D95F #5FD9C0
square
#835FD9 #D95F78 #B5D95F #5FD9C0
split-complementary
#835FD9 #D9C05F #78D95F
monochromatic
#472499 #5E30CB #835FD9 #A990E5 #D0C2F0

Accessibility & contrast

On white

4.56
#835FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#835FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835FD9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835FD9#FFFFFF#000000##000000
##835FD91.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E77DD
Deuteranopia (green-blind)
#2B74D6
Tritanopia (blue-blind)
#6D7993
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #835fd9;
/* rgb */ color: rgb(131, 95, 217);
/* oklch */ color: oklch(58.2% 0.179 293.7);
Tailwind
colors: {
  custom: {
    50: '#ac8de5',
    500: '#835fd9',
    950: '#000000',
  },
}
SCSS
$custom: #835fd9;
$custom-light: #ac8de5;
$custom-dark: #000000;
JSON
{
  "hex": "#835fd9",
  "rgb": {
    "r": 131,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 257.705,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58242,
    "c": 0.17931,
    "h": 293.7
  },
  "luminance": 0.18019
}

Semantic roles & 50–950 ramp

primary
#835FD9
secondary
#D3E1B3
accent
#C91C96
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #835FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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