#7832AF#7832AF

#7832AF is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.8% C 0.190 H 305.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7832AF
RGBrgb(120, 50, 175)
HSLhsl(274, 56%, 44%)
HSVhsv(274, 71%, 69%)
CMYKcmyk(31.4%, 71.4%, 0%, 31.4%)
CIE-LABlab(36.69, 52.52, -54.15)
CIE-LCHlch(36.69, 75.43, 314.12°)
OKLaboklab(47.75% 0.1115 -0.1538)
OKLCHoklch(47.75% 0.19 305.9)
XYZxyz(16.6225, 9.3696, 41.4819)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7832AF #69AF32
analogous
#3A32AF #7832AF #AF32A8
triadic
#7832AF #AF7832 #32AF78
tetradic
#7832AF #AF3A32 #69AF32 #32A8AF
square
#7832AF #AF3A32 #69AF32 #32A8AF
split-complementary
#7832AF #A8AF32 #32AF3A
monochromatic
#371750 #57247F #7832AF #9751CD #B381DB

Accessibility & contrast

On white

7.31
#7832AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7832AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7832AF
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7832AF#FFFFFF#000000##FFFFFF
##7832AF1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0057AC
Tritanopia (blue-blind)
#6E4F6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7832af;
/* rgb */ color: rgb(120, 50, 175);
/* oklch */ color: oklch(47.8% 0.190 305.9);
Tailwind
colors: {
  custom: {
    50: '#a470c8',
    500: '#7832af',
    950: '#000000',
  },
}
SCSS
$custom: #7832af;
$custom-light: #a470c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7832af",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 273.6,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47751,
    "c": 0.18998,
    "h": 305.9
  },
  "luminance": 0.09369
}

Semantic roles & 50–950 ramp

primary
#7832AF
secondary
#9AC479
accent
#DF498B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7832AF

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

Preview Lab → · Contrast checker → · Palette generator →

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