#835FC4#835FC4

#835FC4 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.9% C 0.153 H 297.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#835FC4
RGBrgb(131, 95, 196)
HSLhsl(261, 46%, 57%)
HSVhsv(261, 52%, 77%)
CMYKcmyk(33.2%, 51.5%, 0%, 23.1%)
CIE-LABlab(48.25, 36.48, -47.78)
CIE-LCHlch(48.25, 60.11, 307.36°)
OKLaboklab(56.9% 0.0712 -0.1349)
OKLCHoklch(56.9% 0.153 297.8)
XYZxyz(23.4136, 16.9950, 54.2607)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835FC4 #A0C45F
analogous
#5F6EC4 #835FC4 #B65FC4
triadic
#835FC4 #C4835F #5FC483
tetradic
#835FC4 #C45F6E #A0C45F #5FC4B6
square
#835FC4 #C45F6E #A0C45F #5FC4B6
split-complementary
#835FC4 #C4B65F #6EC45F
monochromatic
#492D7B #643EA8 #835FC4 #A68CD4 #C8B8E5

Accessibility & contrast

On white

4.77
#835FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#835FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835FC4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835FC4#FFFFFF#000000##FFFFFF
##835FC41.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A73C7
Deuteranopia (green-blind)
#4372C2
Tritanopia (blue-blind)
#757388
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #835fc4;
/* rgb */ color: rgb(131, 95, 196);
/* oklch */ color: oklch(56.9% 0.153 297.8);
Tailwind
colors: {
  custom: {
    50: '#aa8dd6',
    500: '#835fc4',
    950: '#000000',
  },
}
SCSS
$custom: #835fc4;
$custom-light: #aa8dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#835fc4",
  "rgb": {
    "r": 131,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 261.386,
    "s": 46.119,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56899,
    "c": 0.15252,
    "h": 297.8
  },
  "luminance": 0.16995
}

Semantic roles & 50–950 ramp

primary
#835FC4
secondary
#C5D4AB
accent
#D652A7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #835FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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