#7034AF#7034AF

#7034AF is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.186 H 301.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7034AF
RGBrgb(112, 52, 175)
HSLhsl(269, 54%, 45%)
HSVhsv(269, 70%, 69%)
CMYKcmyk(36%, 70.3%, 0%, 31.4%)
CIE-LABlab(35.98, 49.99, -55.35)
CIE-LCHlch(35.98, 74.58, 312.09°)
OKLaboklab(47.02% 0.0983 -0.1576)
OKLCHoklch(47.02% 0.186 301.9)
XYZxyz(15.6461, 8.9958, 41.4612)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7034AF #73AF34
analogous
#3436AF #7034AF #AE34AF
triadic
#7034AF #AF7034 #34AF70
tetradic
#7034AF #AF3436 #73AF34 #34AFAE
square
#7034AF #AF3436 #73AF34 #34AFAE
split-complementary
#7034AF #AFAE34 #36AF34
monochromatic
#341851 #522680 #7034AF #8F54CC #AE83DA

Accessibility & contrast

On white

7.50
#7034AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7034AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7034AF#FFFFFF#000000##FFFFFF
##7034AF1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#63516E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7034af;
/* rgb */ color: rgb(112, 52, 175);
/* oklch */ color: oklch(47.0% 0.186 301.9);
Tailwind
colors: {
  custom: {
    50: '#9e70c8',
    500: '#7034af',
    950: '#000000',
  },
}
SCSS
$custom: #7034af;
$custom-light: #9e70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7034af",
  "rgb": {
    "r": 112,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 269.268,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4702,
    "c": 0.18576,
    "h": 301.9
  },
  "luminance": 0.08996
}

Semantic roles & 50–950 ramp

primary
#7034AF
secondary
#A0C47B
accent
#DE4A96
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7034AF

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

Preview Lab → · Contrast checker → · Palette generator →

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