#7032AC#7032AC

#7032AC is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.185 H 303.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7032AC
RGBrgb(112, 50, 172)
HSLhsl(270, 55%, 44%)
HSVhsv(270, 71%, 67%)
CMYKcmyk(34.9%, 70.9%, 0%, 32.5%)
CIE-LABlab(35.41, 50.21, -54.48)
CIE-LCHlch(35.41, 74.09, 312.66°)
OKLaboklab(46.54% 0.1009 -0.1551)
OKLCHoklch(46.54% 0.185 303)
XYZxyz(15.2673, 8.7045, 39.8975)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7032AC #6EAC32
analogous
#3332AC #7032AC #AC32AB
triadic
#7032AC #AC7032 #32AC70
tetradic
#7032AC #AC3332 #6EAC32 #32ABAC
square
#7032AC #AC3332 #6EAC32 #32ABAC
split-complementary
#7032AC #ABAC32 #32AC33
monochromatic
#32164D #51247D #7032AC #8F4FCC #AD7FDA

Accessibility & contrast

On white

7.66
#7032AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7032AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7032AC#FFFFFF#000000##FFFFFF
##7032AC1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#644F6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7032ac;
/* rgb */ color: rgb(112, 50, 172);
/* oklch */ color: oklch(46.5% 0.185 303.0);
Tailwind
colors: {
  custom: {
    50: '#9e6fc6',
    500: '#7032ac',
    950: '#000000',
  },
}
SCSS
$custom: #7032ac;
$custom-light: #9e6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7032ac",
  "rgb": {
    "r": 112,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 270.492,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46545,
    "c": 0.18497,
    "h": 303
  },
  "luminance": 0.08705
}

Semantic roles & 50–950 ramp

primary
#7032AC
secondary
#9CC377
accent
#DE4A93
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7032AC

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

Preview Lab → · Contrast checker → · Palette generator →

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