#7032B5#7032B5

#7032B5 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.195 H 300.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7032B5
RGBrgb(112, 50, 181)
HSLhsl(268, 57%, 45%)
HSVhsv(268, 72%, 71%)
CMYKcmyk(38.1%, 72.4%, 0%, 29%)
CIE-LABlab(36.10, 52.42, -58.70)
CIE-LCHlch(36.10, 78.70, 311.76°)
OKLaboklab(47.26% 0.0992 -0.1675)
OKLCHoklch(47.26% 0.195 300.6)
XYZxyz(16.1611, 9.0620, 44.6048)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7032B5 #77B532
analogous
#3235B5 #7032B5 #B132B5
triadic
#7032B5 #B57032 #32B570
tetradic
#7032B5 #B53235 #77B532 #32B5B1
square
#7032B5 #B53235 #77B532 #32B5B1
split-complementary
#7032B5 #B5B132 #35B532
monochromatic
#351855 #522585 #7032B5 #8F54D0 #AE84DD

Accessibility & contrast

On white

7.47
#7032B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7032B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7032B5#FFFFFF#000000##FFFFFF
##7032B51.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7032b5;
/* rgb */ color: rgb(112, 50, 181);
/* oklch */ color: oklch(47.3% 0.195 300.6);
Tailwind
colors: {
  custom: {
    50: '#9f6fcc',
    500: '#7032b5',
    950: '#000000',
  },
}
SCSS
$custom: #7032b5;
$custom-light: #9f6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#7032b5",
  "rgb": {
    "r": 112,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 268.397,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47255,
    "c": 0.19466,
    "h": 300.6
  },
  "luminance": 0.09062
}

Semantic roles & 50–950 ramp

primary
#7032B5
secondary
#A3C77C
accent
#E04898
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7032B5

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

Preview Lab → · Contrast checker → · Palette generator →

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