#7832A4#7832A4

#7832A4 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.179 H 309.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7832A4
RGBrgb(120, 50, 164)
HSLhsl(277, 53%, 42%)
HSVhsv(277, 70%, 64%)
CMYKcmyk(26.8%, 69.5%, 0%, 35.7%)
CIE-LABlab(35.90, 49.98, -48.85)
CIE-LCHlch(35.90, 69.88, 315.66°)
OKLaboklab(46.94% 0.113 -0.1382)
OKLCHoklch(46.94% 0.179 309.3)
XYZxyz(15.5858, 8.9549, 36.0222)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7832A4 #5EA432
analogous
#3F32A4 #7832A4 #A43297
triadic
#7832A4 #A47832 #32A478
tetradic
#7832A4 #A43F32 #5EA432 #3297A4
square
#7832A4 #A43F32 #5EA432 #3297A4
split-complementary
#7832A4 #97A432 #32A43F
monochromatic
#331546 #562475 #7832A4 #984BC8 #B37AD6

Accessibility & contrast

On white

7.52
#7832A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7832A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7832A4
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7832A4#FFFFFF#000000##FFFFFF
##7832A41.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#1C55A1
Tritanopia (blue-blind)
#724B67
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7832a4;
/* rgb */ color: rgb(120, 50, 164);
/* oklch */ color: oklch(46.9% 0.179 309.3);
Tailwind
colors: {
  custom: {
    50: '#a370c0',
    500: '#7832a4',
    950: '#000000',
  },
}
SCSS
$custom: #7832a4;
$custom-light: #a370c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7832a4",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 276.842,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46939,
    "c": 0.17855,
    "h": 309.3
  },
  "luminance": 0.08955
}

Semantic roles & 50–950 ramp

primary
#7832A4
secondary
#90BF73
accent
#DD4B83
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7832A4

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

Preview Lab → · Contrast checker → · Palette generator →

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