#7032BA#7032BA

#7032BA is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.7% C 0.200 H 299.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7032BA
RGBrgb(112, 50, 186)
HSLhsl(267, 58%, 46%)
HSVhsv(267, 73%, 73%)
CMYKcmyk(39.8%, 73.1%, 0%, 27.1%)
CIE-LABlab(36.50, 53.66, -61.01)
CIE-LCHlch(36.50, 81.25, 311.33°)
OKLaboklab(47.66% 0.0982 -0.1743)
OKLCHoklch(47.66% 0.2 299.4)
XYZxyz(16.6834, 9.2709, 47.3554)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7032BA #7CBA32
analogous
#3238BA #7032BA #B432BA
triadic
#7032BA #BA7032 #32BA70
tetradic
#7032BA #BA3238 #7CBA32 #32BAB4
square
#7032BA #BA3238 #7CBA32 #32BAB4
split-complementary
#7032BA #BAB432 #38BA32
monochromatic
#36185A #53258A #7032BA #8F57D2 #AF88DF

Accessibility & contrast

On white

7.36
#7032BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7032BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7032BA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7032BA#FFFFFF#000000##FFFFFF
##7032BA1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#5F5473
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7032ba;
/* rgb */ color: rgb(112, 50, 186);
/* oklch */ color: oklch(47.7% 0.200 299.4);
Tailwind
colors: {
  custom: {
    50: '#9f70d0',
    500: '#7032ba',
    950: '#000000',
  },
}
SCSS
$custom: #7032ba;
$custom-light: #9f70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7032ba",
  "rgb": {
    "r": 112,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 267.353,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4766,
    "c": 0.20002,
    "h": 299.4
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#7032BA
secondary
#A7C97F
accent
#E1479B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7032BA

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

Preview Lab → · Contrast checker → · Palette generator →

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