#7832B7#7832B7

#7832B7 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.4% C 0.198 H 303.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7832B7
RGBrgb(120, 50, 183)
HSLhsl(272, 57%, 46%)
HSVhsv(272, 73%, 72%)
CMYKcmyk(34.4%, 72.7%, 0%, 28.2%)
CIE-LABlab(37.29, 54.40, -57.92)
CIE-LCHlch(37.29, 79.46, 313.20°)
OKLaboklab(48.37% 0.1101 -0.1649)
OKLCHoklch(48.37% 0.198 303.7)
XYZxyz(17.4316, 9.6932, 45.7432)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7832B7 #71B732
analogous
#3532B7 #7832B7 #B732B3
triadic
#7832B7 #B77832 #32B778
tetradic
#7832B7 #B73532 #71B732 #32B3B7
square
#7832B7 #B73532 #71B732 #32B3B7
split-complementary
#7832B7 #B3B732 #32B735
monochromatic
#391857 #582587 #7832B7 #9656D1 #B486DE

Accessibility & contrast

On white

7.15
#7832B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7832B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7832B7
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7832B7#FFFFFF#000000##FFFFFF
##7832B71.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0058B4
Tritanopia (blue-blind)
#6C5272
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7832b7;
/* rgb */ color: rgb(120, 50, 183);
/* oklch */ color: oklch(48.4% 0.198 303.7);
Tailwind
colors: {
  custom: {
    50: '#a470cd',
    500: '#7832b7',
    950: '#000000',
  },
}
SCSS
$custom: #7832b7;
$custom-light: #a470cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7832b7",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 271.579,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48365,
    "c": 0.19829,
    "h": 303.7
  },
  "luminance": 0.09693
}

Semantic roles & 50–950 ramp

primary
#7832B7
secondary
#A0C77D
accent
#E04790
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7832B7

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

Preview Lab → · Contrast checker → · Palette generator →

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