#835AC8#835AC8

#835AC8 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.3% C 0.165 H 298.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#835AC8
RGBrgb(131, 90, 200)
HSLhsl(262, 50%, 57%)
HSVhsv(262, 55%, 78%)
CMYKcmyk(34.5%, 55%, 0%, 21.6%)
CIE-LABlab(47.38, 40.38, -51.49)
CIE-LCHlch(47.38, 65.43, 308.10°)
OKLaboklab(56.32% 0.0779 -0.1458)
OKLCHoklch(56.32% 0.165 298.1)
XYZxyz(23.4390, 16.3075, 56.5452)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835AC8 #9FC85A
analogous
#5A68C8 #835AC8 #BA5AC8
triadic
#835AC8 #C8835A #5AC883
tetradic
#835AC8 #C85A68 #9FC85A #5AC8BA
square
#835AC8 #C85A68 #9FC85A #5AC8BA
split-complementary
#835AC8 #C8BA5A #68C85A
monochromatic
#492A7E #6439AC #835AC8 #A588D7 #C8B6E7

Accessibility & contrast

On white

4.93
#835AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#835AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835AC8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835AC8#FFFFFF#000000##FFFFFF
##835AC81.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B71CC
Deuteranopia (green-blind)
#386FC5
Tritanopia (blue-blind)
#747088
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #835ac8;
/* rgb */ color: rgb(131, 90, 200);
/* oklch */ color: oklch(56.3% 0.165 298.1);
Tailwind
colors: {
  custom: {
    50: '#ab8ad9',
    500: '#835ac8',
    950: '#000000',
  },
}
SCSS
$custom: #835ac8;
$custom-light: #ab8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#835ac8",
  "rgb": {
    "r": 131,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 262.364,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56324,
    "c": 0.16526,
    "h": 298.1
  },
  "luminance": 0.16308
}

Semantic roles & 50–950 ramp

primary
#835AC8
secondary
#C5D5A8
accent
#DA4EA6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #835AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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