#7032A2#7032A2

#7032A2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.174 H 306.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7032A2
RGBrgb(112, 50, 162)
HSLhsl(273, 53%, 42%)
HSVhsv(273, 69%, 64%)
CMYKcmyk(30.9%, 69.1%, 0%, 36.5%)
CIE-LABlab(34.67, 47.79, -49.68)
CIE-LCHlch(34.67, 68.93, 313.89°)
OKLaboklab(45.79% 0.1023 -0.1409)
OKLCHoklch(45.79% 0.174 306)
XYZxyz(14.3429, 8.3347, 35.0286)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7032A2 #64A232
analogous
#3832A2 #7032A2 #A2329C
triadic
#7032A2 #A27032 #32A270
tetradic
#7032A2 #A23832 #64A232 #329CA2
square
#7032A2 #A23832 #64A232 #329CA2
split-complementary
#7032A2 #9CA232 #32A238
monochromatic
#2F1544 #502473 #7032A2 #8F4AC7 #AC79D6

Accessibility & contrast

On white

7.87
#7032A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7032A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7032A2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7032A2#FFFFFF#000000##FFFFFF
##7032A21.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0F52A0
Tritanopia (blue-blind)
#674B66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7032a2;
/* rgb */ color: rgb(112, 50, 162);
/* oklch */ color: oklch(45.8% 0.174 306.0);
Tailwind
colors: {
  custom: {
    50: '#9d6fbe',
    500: '#7032a2',
    950: '#000000',
  },
}
SCSS
$custom: #7032a2;
$custom-light: #9d6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#7032a2",
  "rgb": {
    "r": 112,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 273.214,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45785,
    "c": 0.17416,
    "h": 306
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

primary
#7032A2
secondary
#94BE72
accent
#DC4C8C
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7032A2

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

Preview Lab → · Contrast checker → · Palette generator →

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