#7032A4#7032A4

#7032A4 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.176 H 305.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7032A4
RGBrgb(112, 50, 164)
HSLhsl(273, 53%, 42%)
HSVhsv(273, 70%, 64%)
CMYKcmyk(31.7%, 69.5%, 0%, 35.7%)
CIE-LABlab(34.82, 48.27, -50.65)
CIE-LCHlch(34.82, 69.97, 313.62°)
OKLaboklab(45.93% 0.102 -0.1438)
OKLCHoklch(45.93% 0.176 305.4)
XYZxyz(14.5221, 8.4064, 35.9723)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7032A4 #66A432
analogous
#3732A4 #7032A4 #A4329F
triadic
#7032A4 #A47032 #32A470
tetradic
#7032A4 #A43732 #66A432 #329FA4
square
#7032A4 #A43732 #66A432 #329FA4
split-complementary
#7032A4 #9FA432 #32A437
monochromatic
#301546 #502475 #7032A4 #8F4BC8 #AC7AD6

Accessibility & contrast

On white

7.83
#7032A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7032A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7032A4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7032A4#FFFFFF#000000##FFFFFF
##7032A41.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#0852A2
Tritanopia (blue-blind)
#674C67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7032a4;
/* rgb */ color: rgb(112, 50, 164);
/* oklch */ color: oklch(45.9% 0.176 305.4);
Tailwind
colors: {
  custom: {
    50: '#9d6fc0',
    500: '#7032a4',
    950: '#000000',
  },
}
SCSS
$custom: #7032a4;
$custom-light: #9d6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7032a4",
  "rgb": {
    "r": 112,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 272.632,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45934,
    "c": 0.17633,
    "h": 305.4
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#7032A4
secondary
#96BF73
accent
#DD4B8E
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7032A4

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

Preview Lab → · Contrast checker → · Palette generator →

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