#7832AC#7832AC

#7832AC is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.187 H 306.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#7832AC
RGBrgb(120, 50, 172)
HSLhsl(274, 55%, 44%)
HSVhsv(274, 71%, 67%)
CMYKcmyk(30.2%, 70.9%, 0%, 32.5%)
CIE-LABlab(36.47, 51.82, -52.72)
CIE-LCHlch(36.47, 73.92, 314.51°)
OKLaboklab(47.53% 0.112 -0.1496)
OKLCHoklch(47.53% 0.187 306.8)
XYZxyz(16.3311, 9.2530, 39.9474)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7832AC #66AC32
analogous
#3B32AC #7832AC #AC32A3
triadic
#7832AC #AC7832 #32AC78
tetradic
#7832AC #AC3B32 #66AC32 #32A3AC
square
#7832AC #AC3B32 #66AC32 #32A3AC
split-complementary
#7832AC #A3AC32 #32AC3B
monochromatic
#36164D #57247D #7832AC #974FCC #B37FDA

Accessibility & contrast

On white

7.37
#7832AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7832AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7832AC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7832AC#FFFFFF#000000##FFFFFF
##7832AC1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#0856A9
Tritanopia (blue-blind)
#6F4E6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7832ac;
/* rgb */ color: rgb(120, 50, 172);
/* oklch */ color: oklch(47.5% 0.187 306.8);
Tailwind
colors: {
  custom: {
    50: '#a370c5',
    500: '#7832ac',
    950: '#000000',
  },
}
SCSS
$custom: #7832ac;
$custom-light: #a370c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7832ac",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 274.426,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47526,
    "c": 0.18687,
    "h": 306.8
  },
  "luminance": 0.09253
}

Semantic roles & 50–950 ramp

primary
#7832AC
secondary
#97C377
accent
#DE4A89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7832AC

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

Preview Lab → · Contrast checker → · Palette generator →

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