#835EB3#835EB3

#835EB3 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.7% C 0.132 H 302.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#835EB3
RGBrgb(131, 94, 179)
HSLhsl(266, 36%, 54%)
HSVhsv(266, 47%, 70%)
CMYKcmyk(26.8%, 47.5%, 0%, 29.8%)
CIE-LABlab(47.09, 32.72, -39.78)
CIE-LCHlch(47.09, 51.50, 309.44°)
OKLaboklab(55.72% 0.0708 -0.1115)
OKLCHoklch(55.72% 0.132 302.4)
XYZxyz(21.4977, 16.0854, 44.6113)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835EB3 #8EB35E
analogous
#5E63B3 #835EB3 #AD5EB3
triadic
#835EB3 #B3835E #5EB383
tetradic
#835EB3 #B35E63 #8EB35E #5EB3AD
square
#835EB3 #B35E63 #8EB35E #5EB3AD
split-complementary
#835EB3 #B3AD5E #63B35E
monochromatic
#483066 #654490 #835EB3 #A388C7 #C3B1DA

Accessibility & contrast

On white

4.98
#835EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#835EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835EB3
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835EB3#FFFFFF#000000##FFFFFF
##835EB31.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456FB6
Deuteranopia (green-blind)
#4E6FB1
Tritanopia (blue-blind)
#7A6D80
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #835eb3;
/* rgb */ color: rgb(131, 94, 179);
/* oklch */ color: oklch(55.7% 0.132 302.4);
Tailwind
colors: {
  custom: {
    50: '#a98cca',
    500: '#835eb3',
    950: '#000000',
  },
}
SCSS
$custom: #835eb3;
$custom-light: #a98cca;
$custom-dark: #000000;
JSON
{
  "hex": "#835eb3",
  "rgb": {
    "r": 131,
    "g": 94,
    "b": 179
  },
  "hsl": {
    "h": 266.118,
    "s": 35.865,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55724,
    "c": 0.13208,
    "h": 302.4
  },
  "luminance": 0.16085
}

Semantic roles & 50–950 ramp

primary
#835EB3
secondary
#B9C9A4
accent
#CC5C9B
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #835EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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