#835DCD#835DCD

#835DCD is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.1% C 0.167 H 296.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#835DCD
RGBrgb(131, 93, 205)
HSLhsl(260, 53%, 58%)
HSVhsv(260, 55%, 80%)
CMYKcmyk(36.1%, 54.6%, 0%, 19.6%)
CIE-LABlab(48.34, 39.99, -52.82)
CIE-LCHlch(48.34, 66.25, 307.13°)
OKLaboklab(57.13% 0.0742 -0.1497)
OKLCHoklch(57.13% 0.167 296.4)
XYZxyz(24.2911, 17.0614, 59.7592)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835DCD #A7CD5D
analogous
#5D6FCD #835DCD #BB5DCD
triadic
#835DCD #CD835D #5DCD83
tetradic
#835DCD #CD5D6F #A7CD5D #5DCDBB
square
#835DCD #CD5D6F #A7CD5D #5DCDBB
split-complementary
#835DCD #CDBB5D #6FCD5D
monochromatic
#492986 #6238B5 #835DCD #A78CDB #CBBBEA

Accessibility & contrast

On white

4.76
#835DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#835DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835DCD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835DCD#FFFFFF#000000##FFFFFF
##835DCD1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C73D1
Deuteranopia (green-blind)
#3771CA
Tritanopia (blue-blind)
#72748C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #835dcd;
/* rgb */ color: rgb(131, 93, 205);
/* oklch */ color: oklch(57.1% 0.167 296.4);
Tailwind
colors: {
  custom: {
    50: '#ab8cdd',
    500: '#835dcd',
    950: '#000000',
  },
}
SCSS
$custom: #835dcd;
$custom-light: #ab8cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#835dcd",
  "rgb": {
    "r": 131,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 260.357,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57132,
    "c": 0.16707,
    "h": 296.4
  },
  "luminance": 0.17062
}

Semantic roles & 50–950 ramp

primary
#835DCD
secondary
#CAD9AD
accent
#DC4CAB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #835DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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