#7832B8#7832B8

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

Color values

HEX#7832B8
RGBrgb(120, 50, 184)
HSLhsl(271, 57%, 46%)
HSVhsv(271, 73%, 72%)
CMYKcmyk(34.8%, 72.8%, 0%, 27.8%)
CIE-LABlab(37.36, 54.63, -58.38)
CIE-LCHlch(37.36, 79.96, 313.10°)
OKLaboklab(48.44% 0.11 -0.1663)
OKLCHoklch(48.44% 0.199 303.5)
XYZxyz(17.5360, 9.7350, 46.2933)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7832B8 #72B832
analogous
#3532B8 #7832B8 #B832B5
triadic
#7832B8 #B87832 #32B878
tetradic
#7832B8 #B83532 #72B832 #32B5B8
square
#7832B8 #B83532 #72B832 #32B5B8
split-complementary
#7832B8 #B5B832 #32B835
monochromatic
#391858 #592588 #7832B8 #9656D1 #B486DE

Accessibility & contrast

On white

7.13
#7832B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7832B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7832B8
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7832B8#FFFFFF#000000##FFFFFF
##7832B81.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#6B5372
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7832b8;
/* rgb */ color: rgb(120, 50, 184);
/* oklch */ color: oklch(48.4% 0.199 303.5);
Tailwind
colors: {
  custom: {
    50: '#a470ce',
    500: '#7832b8',
    950: '#000000',
  },
}
SCSS
$custom: #7832b8;
$custom-light: #a470ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7832b8",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 271.343,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48443,
    "c": 0.19933,
    "h": 303.5
  },
  "luminance": 0.09735
}

Semantic roles & 50–950 ramp

primary
#7832B8
secondary
#A1C87E
accent
#E14790
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7832B8

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

Preview Lab → · Contrast checker → · Palette generator →

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