#832DB4#832DB4

#832DB4 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.204 H 309.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#832DB4
RGBrgb(131, 45, 180)
HSLhsl(278, 60%, 44%)
HSVhsv(278, 75%, 71%)
CMYKcmyk(27.2%, 75%, 0%, 29.4%)
CIE-LABlab(37.84, 57.89, -55.18)
CIE-LCHlch(37.84, 79.97, 316.37°)
OKLaboklab(49.01% 0.1305 -0.1564)
OKLCHoklch(49.01% 0.204 309.8)
XYZxyz(18.5350, 9.9977, 44.1245)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832DB4 #5EB42D
analogous
#402DB4 #832DB4 #B42DA2
triadic
#832DB4 #B4832D #2DB483
tetradic
#832DB4 #B4402D #5EB42D #2DA2B4
square
#832DB4 #B4402D #5EB42D #2DA2B4
split-complementary
#832DB4 #A2B42D #2DB440
monochromatic
#3C1552 #5F2183 #832DB4 #A24CD2 #BB7DDE

Accessibility & contrast

On white

7.00
#832DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#832DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #832DB4
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832DB4#FFFFFF#000000##FFFFFF
##832DB41.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#065AB1
Tritanopia (blue-blind)
#7C4D6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #832db4;
/* rgb */ color: rgb(131, 45, 180);
/* oklch */ color: oklch(49.0% 0.204 309.8);
Tailwind
colors: {
  custom: {
    50: '#ac6fcb',
    500: '#832db4',
    950: '#000000',
  },
}
SCSS
$custom: #832db4;
$custom-light: #ac6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#832db4",
  "rgb": {
    "r": 131,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 278.222,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49005,
    "c": 0.20372,
    "h": 309.8
  },
  "luminance": 0.09997
}

Semantic roles & 50–950 ramp

primary
#832DB4
secondary
#93C776
accent
#E3457E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #832DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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