#7032AB#7032AB

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

Color values

HEX#7032AB
RGBrgb(112, 50, 171)
HSLhsl(271, 55%, 43%)
HSVhsv(271, 71%, 67%)
CMYKcmyk(34.5%, 70.8%, 0%, 32.9%)
CIE-LABlab(35.33, 49.96, -54.01)
CIE-LCHlch(35.33, 73.57, 312.77°)
OKLaboklab(46.47% 0.101 -0.1537)
OKLCHoklch(46.47% 0.184 303.3)
XYZxyz(15.1717, 8.6662, 39.3936)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7032AB #6DAB32
analogous
#3432AB #7032AB #AB32A9
triadic
#7032AB #AB7032 #32AB70
tetradic
#7032AB #AB3432 #6DAB32 #32A9AB
square
#7032AB #AB3432 #6DAB32 #32A9AB
split-complementary
#7032AB #A9AB32 #32AB34
monochromatic
#32164C #51247C #7032AB #8F4FCB #AD7ED9

Accessibility & contrast

On white

7.68
#7032AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7032AB#FFFFFF#000000##FFFFFF
##7032AB1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#644E6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7032ab;
/* rgb */ color: rgb(112, 50, 171);
/* oklch */ color: oklch(46.5% 0.184 303.3);
Tailwind
colors: {
  custom: {
    50: '#9e6fc5',
    500: '#7032ab',
    950: '#000000',
  },
}
SCSS
$custom: #7032ab;
$custom-light: #9e6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7032ab",
  "rgb": {
    "r": 112,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 270.744,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46467,
    "c": 0.1839,
    "h": 303.3
  },
  "luminance": 0.08666
}

Semantic roles & 50–950 ramp

primary
#7032AB
secondary
#9BC277
accent
#DE4A92
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7032AB

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

Preview Lab → · Contrast checker → · Palette generator →

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