#7034AA#7034AA

#7034AA is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.6% C 0.180 H 303.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7034AA
RGBrgb(112, 52, 170)
HSLhsl(271, 53%, 44%)
HSVhsv(271, 69%, 67%)
CMYKcmyk(34.1%, 69.4%, 0%, 33.3%)
CIE-LABlab(35.60, 48.76, -52.97)
CIE-LCHlch(35.60, 72.00, 312.63°)
OKLaboklab(46.64% 0.099 -0.1506)
OKLCHoklch(46.64% 0.18 303.3)
XYZxyz(15.1641, 8.8030, 38.9227)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7034AA #6EAA34
analogous
#3534AA #7034AA #AA34A9
triadic
#7034AA #AA7034 #34AA70
tetradic
#7034AA #AA3534 #6EAA34 #34A9AA
square
#7034AA #AA3534 #6EAA34 #34A9AA
split-complementary
#7034AA #A9AA34 #34AA35
monochromatic
#32174C #51267B #7034AA #8F51CA #AD80D8

Accessibility & contrast

On white

7.61
#7034AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7034AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7034AA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7034AA#FFFFFF#000000##FFFFFF
##7034AA1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#654F6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7034aa;
/* rgb */ color: rgb(112, 52, 170);
/* oklch */ color: oklch(46.6% 0.180 303.3);
Tailwind
colors: {
  custom: {
    50: '#9e70c4',
    500: '#7034aa',
    950: '#000000',
  },
}
SCSS
$custom: #7034aa;
$custom-light: #9e70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7034aa",
  "rgb": {
    "r": 112,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 270.508,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46635,
    "c": 0.18028,
    "h": 303.3
  },
  "luminance": 0.08803
}

Semantic roles & 50–950 ramp

primary
#7034AA
secondary
#9CC178
accent
#DD4B93
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7034AA

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

Preview Lab → · Contrast checker → · Palette generator →

#7034AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva