#832DB7#832DB7

#832DB7 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.207 H 309.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#832DB7
RGBrgb(131, 45, 183)
HSLhsl(277, 61%, 45%)
HSVhsv(277, 75%, 72%)
CMYKcmyk(28.4%, 75.4%, 0%, 28.2%)
CIE-LABlab(38.06, 58.54, -56.59)
CIE-LCHlch(38.06, 81.42, 315.97°)
OKLaboklab(49.23% 0.13 -0.1606)
OKLCHoklch(49.23% 0.207 309)
XYZxyz(18.8440, 10.1213, 45.7515)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832DB7 #61B72D
analogous
#3E2DB7 #832DB7 #B72DA6
triadic
#832DB7 #B7832D #2DB783
tetradic
#832DB7 #B73E2D #61B72D #2DA6B7
square
#832DB7 #B73E2D #61B72D #2DA6B7
split-complementary
#832DB7 #A6B72D #2DB73E
monochromatic
#3D1555 #602186 #832DB7 #A14ED3 #BB7FDF

Accessibility & contrast

On white

6.94
#832DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#832DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #832DB7
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832DB7#FFFFFF#000000##FFFFFF
##832DB71.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#7B4E70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #832db7;
/* rgb */ color: rgb(131, 45, 183);
/* oklch */ color: oklch(49.2% 0.207 309.0);
Tailwind
colors: {
  custom: {
    50: '#ac6fcd',
    500: '#832db7',
    950: '#000000',
  },
}
SCSS
$custom: #832db7;
$custom-light: #ac6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#832db7",
  "rgb": {
    "r": 131,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 277.391,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4923,
    "c": 0.20659,
    "h": 309
  },
  "luminance": 0.10121
}

Semantic roles & 50–950 ramp

primary
#832DB7
secondary
#96C878
accent
#E44480
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #832DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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