#7032AF#7032AF

#7032AF is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.188 H 302.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7032AF
RGBrgb(112, 50, 175)
HSLhsl(270, 56%, 44%)
HSVhsv(270, 71%, 69%)
CMYKcmyk(36%, 71.4%, 0%, 31.4%)
CIE-LABlab(35.64, 50.94, -55.90)
CIE-LCHlch(35.64, 75.63, 312.34°)
OKLaboklab(46.78% 0.1003 -0.1592)
OKLCHoklch(46.78% 0.188 302.2)
XYZxyz(15.5587, 8.8211, 41.4321)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7032AF #71AF32
analogous
#3232AF #7032AF #AF32AF
triadic
#7032AF #AF7032 #32AF70
tetradic
#7032AF #AF3232 #71AF32 #32AFAF
square
#7032AF #AF3232 #71AF32 #32AFAF
split-complementary
#7032AF #AFAF32 #32AF32
monochromatic
#331750 #52247F #7032AF #8F51CD #AD81DB

Accessibility & contrast

On white

7.60
#7032AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7032AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7032AF#FFFFFF#000000##FFFFFF
##7032AF1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#63506D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7032af;
/* rgb */ color: rgb(112, 50, 175);
/* oklch */ color: oklch(46.8% 0.188 302.2);
Tailwind
colors: {
  custom: {
    50: '#9e6fc8',
    500: '#7032af',
    950: '#000000',
  },
}
SCSS
$custom: #7032af;
$custom-light: #9e6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7032af",
  "rgb": {
    "r": 112,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 269.76,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46779,
    "c": 0.18821,
    "h": 302.2
  },
  "luminance": 0.08821
}

Semantic roles & 50–950 ramp

primary
#7032AF
secondary
#9FC479
accent
#DF4994
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7032AF

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

Preview Lab → · Contrast checker → · Palette generator →

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