#7832B9#7832B9

#7832B9 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.5% C 0.200 H 303.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7832B9
RGBrgb(120, 50, 185)
HSLhsl(271, 57%, 46%)
HSVhsv(271, 73%, 73%)
CMYKcmyk(35.1%, 73%, 0%, 27.5%)
CIE-LABlab(37.44, 54.87, -58.85)
CIE-LCHlch(37.44, 80.46, 313.00°)
OKLaboklab(48.52% 0.1098 -0.1676)
OKLCHoklch(48.52% 0.2 303.2)
XYZxyz(17.6412, 9.7771, 46.8473)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7832B9 #73B932
analogous
#3432B9 #7832B9 #B932B6
triadic
#7832B9 #B97832 #32B978
tetradic
#7832B9 #B93432 #73B932 #32B6B9
square
#7832B9 #B93432 #73B932 #32B6B9
split-complementary
#7832B9 #B6B932 #32B934
monochromatic
#391859 #592589 #7832B9 #9657D2 #B487DF

Accessibility & contrast

On white

7.11
#7832B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7832B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7832B9
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7832B9#FFFFFF#000000##FFFFFF
##7832B91.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#6B5373
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7832b9;
/* rgb */ color: rgb(120, 50, 185);
/* oklch */ color: oklch(48.5% 0.200 303.2);
Tailwind
colors: {
  custom: {
    50: '#a570cf',
    500: '#7832b9',
    950: '#000000',
  },
}
SCSS
$custom: #7832b9;
$custom-light: #a570cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7832b9",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 185
  },
  "hsl": {
    "h": 271.111,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48522,
    "c": 0.20036,
    "h": 303.2
  },
  "luminance": 0.09777
}

Semantic roles & 50–950 ramp

primary
#7832B9
secondary
#A2C87F
accent
#E14791
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7832B9

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

Preview Lab → · Contrast checker → · Palette generator →

#7832B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva