#7832BA#7832BA

#7832BA is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.6% C 0.201 H 303.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#7832BA
RGBrgb(120, 50, 186)
HSLhsl(271, 58%, 46%)
HSVhsv(271, 73%, 73%)
CMYKcmyk(35.5%, 73.1%, 0%, 27.1%)
CIE-LABlab(37.52, 55.11, -59.31)
CIE-LCHlch(37.52, 80.96, 312.89°)
OKLaboklab(48.6% 0.1096 -0.169)
OKLCHoklch(48.6% 0.201 303)
XYZxyz(17.7472, 9.8194, 47.4052)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7832BA #74BA32
analogous
#3432BA #7832BA #BA32B8
triadic
#7832BA #BA7832 #32BA78
tetradic
#7832BA #BA3432 #74BA32 #32B8BA
square
#7832BA #BA3432 #74BA32 #32B8BA
split-complementary
#7832BA #B8BA32 #32BA34
monochromatic
#3A185A #59258A #7832BA #9657D2 #B488DF

Accessibility & contrast

On white

7.09
#7832BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7832BA
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7832BA#FFFFFF#000000##FFFFFF
##7832BA1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7832ba;
/* rgb */ color: rgb(120, 50, 186);
/* oklch */ color: oklch(48.6% 0.201 303.0);
Tailwind
colors: {
  custom: {
    50: '#a570d0',
    500: '#7832ba',
    950: '#000000',
  },
}
SCSS
$custom: #7832ba;
$custom-light: #a570d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7832ba",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 270.882,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.486,
    "c": 0.2014,
    "h": 303
  },
  "luminance": 0.09819
}

Semantic roles & 50–950 ramp

primary
#7832BA
secondary
#A3C97F
accent
#E14792
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7832BA

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

Preview Lab → · Contrast checker → · Palette generator →

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