#7032B8#7032B8

#7032B8 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.198 H 299.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7032B8
RGBrgb(112, 50, 184)
HSLhsl(268, 57%, 46%)
HSVhsv(268, 73%, 72%)
CMYKcmyk(39.1%, 72.8%, 0%, 27.8%)
CIE-LABlab(36.34, 53.16, -60.09)
CIE-LCHlch(36.34, 80.23, 311.50°)
OKLaboklab(47.5% 0.0986 -0.1716)
OKLCHoklch(47.5% 0.198 299.9)
XYZxyz(16.4723, 9.1865, 46.2434)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7032B8 #7AB832
analogous
#3237B8 #7032B8 #B332B8
triadic
#7032B8 #B87032 #32B870
tetradic
#7032B8 #B83237 #7AB832 #32B8B3
square
#7032B8 #B83237 #7AB832 #32B8B3
split-complementary
#7032B8 #B8B332 #37B832
monochromatic
#351858 #532588 #7032B8 #8F56D1 #AF86DE

Accessibility & contrast

On white

7.40
#7032B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7032B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7032B8
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7032B8#FFFFFF#000000##FFFFFF
##7032B81.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#5F5472
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7032b8;
/* rgb */ color: rgb(112, 50, 184);
/* oklch */ color: oklch(47.5% 0.198 299.9);
Tailwind
colors: {
  custom: {
    50: '#9f70ce',
    500: '#7032b8',
    950: '#000000',
  },
}
SCSS
$custom: #7032b8;
$custom-light: #9f70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7032b8",
  "rgb": {
    "r": 112,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 267.761,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47498,
    "c": 0.19789,
    "h": 299.9
  },
  "luminance": 0.09187
}

Semantic roles & 50–950 ramp

primary
#7032B8
secondary
#A6C87E
accent
#E1479A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7032B8

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

Preview Lab → · Contrast checker → · Palette generator →

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