#832EB4#832EB4

#832EB4 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.203 H 309.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#832EB4
RGBrgb(131, 46, 180)
HSLhsl(278, 59%, 44%)
HSVhsv(278, 74%, 71%)
CMYKcmyk(27.2%, 74.4%, 0%, 29.4%)
CIE-LABlab(37.98, 57.49, -54.95)
CIE-LCHlch(37.98, 79.53, 316.29°)
OKLaboklab(49.1% 0.1296 -0.1558)
OKLCHoklch(49.1% 0.203 309.8)
XYZxyz(18.5736, 10.0750, 44.1374)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832EB4 #5FB42E
analogous
#402EB4 #832EB4 #B42EA2
triadic
#832EB4 #B4832E #2EB483
tetradic
#832EB4 #B4402E #5FB42E #2EA2B4
square
#832EB4 #B4402E #5FB42E #2EA2B4
split-complementary
#832EB4 #A2B42E #2EB440
monochromatic
#3C1553 #602283 #832EB4 #A14ED2 #BB7EDE

Accessibility & contrast

On white

6.97
#832EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#832EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #832EB4
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832EB4#FFFFFF#000000##FFFFFF
##832EB41.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#095BB1
Tritanopia (blue-blind)
#7C4D6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #832eb4;
/* rgb */ color: rgb(131, 46, 180);
/* oklch */ color: oklch(49.1% 0.203 309.8);
Tailwind
colors: {
  custom: {
    50: '#ac6fcb',
    500: '#832eb4',
    950: '#000000',
  },
}
SCSS
$custom: #832eb4;
$custom-light: #ac6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#832eb4",
  "rgb": {
    "r": 131,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 278.06,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49103,
    "c": 0.20263,
    "h": 309.8
  },
  "luminance": 0.10075
}

Semantic roles & 50–950 ramp

primary
#832EB4
secondary
#94C777
accent
#E2457F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #832EB4

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

Preview Lab → · Contrast checker → · Palette generator →

#832EB4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva