#7032AA#7032AA

#7032AA is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.183 H 303.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7032AA
RGBrgb(112, 50, 170)
HSLhsl(271, 55%, 43%)
HSVhsv(271, 71%, 67%)
CMYKcmyk(34.1%, 70.6%, 0%, 33.3%)
CIE-LABlab(35.26, 49.72, -53.53)
CIE-LCHlch(35.26, 73.06, 312.89°)
OKLaboklab(46.39% 0.1012 -0.1523)
OKLCHoklch(46.39% 0.183 303.6)
XYZxyz(15.0767, 8.6283, 38.8936)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7032AA #6CAA32
analogous
#3432AA #7032AA #AA32A8
triadic
#7032AA #AA7032 #32AA70
tetradic
#7032AA #AA3432 #6CAA32 #32A8AA
square
#7032AA #AA3432 #6CAA32 #32A8AA
split-complementary
#7032AA #A8AA32 #32AA34
monochromatic
#32164B #51247B #7032AA #8F4ECB #AD7DD9

Accessibility & contrast

On white

7.70
#7032AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7032AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7032AA#FFFFFF#000000##FFFFFF
##7032AA1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#654E6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7032aa;
/* rgb */ color: rgb(112, 50, 170);
/* oklch */ color: oklch(46.4% 0.183 303.6);
Tailwind
colors: {
  custom: {
    50: '#9e6fc4',
    500: '#7032aa',
    950: '#000000',
  },
}
SCSS
$custom: #7032aa;
$custom-light: #9e6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7032aa",
  "rgb": {
    "r": 112,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 271,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4639,
    "c": 0.18282,
    "h": 303.6
  },
  "luminance": 0.08628
}

Semantic roles & 50–950 ramp

primary
#7032AA
secondary
#9BC276
accent
#DE4A91
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7032AA

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

Preview Lab → · Contrast checker → · Palette generator →

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