#835FC5#835FC5

#835FC5 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.0% C 0.154 H 297.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#835FC5
RGBrgb(131, 95, 197)
HSLhsl(261, 47%, 57%)
HSVhsv(261, 52%, 77%)
CMYKcmyk(33.5%, 51.8%, 0%, 22.7%)
CIE-LABlab(48.31, 36.74, -48.27)
CIE-LCHlch(48.31, 60.66, 307.28°)
OKLaboklab(56.96% 0.0713 -0.1363)
OKLCHoklch(56.96% 0.154 297.6)
XYZxyz(23.5278, 17.0406, 54.8621)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835FC5 #A1C55F
analogous
#5F6EC5 #835FC5 #B65FC5
triadic
#835FC5 #C5835F #5FC583
tetradic
#835FC5 #C55F6E #A1C55F #5FC5B6
square
#835FC5 #C55F6E #A1C55F #5FC5B6
split-complementary
#835FC5 #C5B65F #6EC55F
monochromatic
#492D7C #643DA9 #835FC5 #A68CD5 #C9B9E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##835FC5#FFFFFF#000000##FFFFFF
##835FC51.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)
#3973C9
Deuteranopia (green-blind)
#4272C3
Tritanopia (blue-blind)
#757389
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #835fc5;
/* rgb */ color: rgb(131, 95, 197);
/* oklch */ color: oklch(57.0% 0.154 297.6);
Tailwind
colors: {
  custom: {
    50: '#aa8dd7',
    500: '#835fc5',
    950: '#000000',
  },
}
SCSS
$custom: #835fc5;
$custom-light: #aa8dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#835fc5",
  "rgb": {
    "r": 131,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 261.176,
    "s": 46.789,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5696,
    "c": 0.15381,
    "h": 297.6
  },
  "luminance": 0.17041
}

Semantic roles & 50–950 ramp

primary
#835FC5
secondary
#C6D5AB
accent
#D651A7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #835FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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