#7034AC#7034AC

#7034AC is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.8% C 0.182 H 302.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7034AC
RGBrgb(112, 52, 172)
HSLhsl(270, 54%, 44%)
HSVhsv(270, 70%, 67%)
CMYKcmyk(34.9%, 69.8%, 0%, 32.5%)
CIE-LABlab(35.75, 49.25, -53.93)
CIE-LCHlch(35.75, 73.03, 312.41°)
OKLaboklab(46.79% 0.0988 -0.1534)
OKLCHoklch(46.79% 0.182 302.8)
XYZxyz(15.3547, 8.8793, 39.9267)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7034AC #70AC34
analogous
#3434AC #7034AC #AC34AC
triadic
#7034AC #AC7034 #34AC70
tetradic
#7034AC #AC3434 #70AC34 #34ACAC
square
#7034AC #AC3434 #70AC34 #34ACAC
split-complementary
#7034AC #ACAC34 #34AC34
monochromatic
#33184E #51267D #7034AC #8F52CB #AD81D9

Accessibility & contrast

On white

7.57
#7034AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7034AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7034AC#FFFFFF#000000##FFFFFF
##7034AC1.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#64506C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7034ac;
/* rgb */ color: rgb(112, 52, 172);
/* oklch */ color: oklch(46.8% 0.182 302.8);
Tailwind
colors: {
  custom: {
    50: '#9e70c6',
    500: '#7034ac',
    950: '#000000',
  },
}
SCSS
$custom: #7034ac;
$custom-light: #9e70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7034ac",
  "rgb": {
    "r": 112,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 270,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46788,
    "c": 0.18247,
    "h": 302.8
  },
  "luminance": 0.08879
}

Semantic roles & 50–950 ramp

primary
#7034AC
secondary
#9EC279
accent
#DD4B94
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7034AC

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

Preview Lab → · Contrast checker → · Palette generator →

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