#7032B4#7032B4

#7032B4 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.194 H 300.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7032B4
RGBrgb(112, 50, 180)
HSLhsl(269, 57%, 45%)
HSVhsv(269, 72%, 71%)
CMYKcmyk(37.8%, 72.2%, 0%, 29.4%)
CIE-LABlab(36.02, 52.17, -58.24)
CIE-LCHlch(36.02, 78.19, 311.85°)
OKLaboklab(47.18% 0.0994 -0.1661)
OKLCHoklch(47.18% 0.194 300.9)
XYZxyz(16.0589, 9.0211, 44.0664)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7032B4 #76B432
analogous
#3235B4 #7032B4 #B132B4
triadic
#7032B4 #B47032 #32B470
tetradic
#7032B4 #B43235 #76B432 #32B4B1
square
#7032B4 #B43235 #76B432 #32B4B1
split-complementary
#7032B4 #B4B132 #35B432
monochromatic
#341754 #522584 #7032B4 #8F54CF #AE84DD

Accessibility & contrast

On white

7.49
#7032B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7032B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7032B4#FFFFFF#000000##FFFFFF
##7032B41.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#615270
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7032b4;
/* rgb */ color: rgb(112, 50, 180);
/* oklch */ color: oklch(47.2% 0.194 300.9);
Tailwind
colors: {
  custom: {
    50: '#9f6fcb',
    500: '#7032b4',
    950: '#000000',
  },
}
SCSS
$custom: #7032b4;
$custom-light: #9f6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7032b4",
  "rgb": {
    "r": 112,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 268.615,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47175,
    "c": 0.19359,
    "h": 300.9
  },
  "luminance": 0.09021
}

Semantic roles & 50–950 ramp

primary
#7032B4
secondary
#A3C67C
accent
#E04897
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7032B4

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

Preview Lab → · Contrast checker → · Palette generator →

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