#7034B2#7034B2

#7034B2 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.189 H 301.1°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7034B2
RGBrgb(112, 52, 178)
HSLhsl(269, 55%, 45%)
HSVhsv(269, 71%, 70%)
CMYKcmyk(37.1%, 70.8%, 0%, 30.2%)
CIE-LABlab(36.20, 50.73, -56.76)
CIE-LCHlch(36.20, 76.13, 311.79°)
OKLaboklab(47.25% 0.0978 -0.1618)
OKLCHoklch(47.25% 0.189 301.1)
XYZxyz(15.9440, 9.1150, 43.0302)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7034B2 #76B234
analogous
#3437B2 #7034B2 #AF34B2
triadic
#7034B2 #B27034 #34B270
tetradic
#7034B2 #B23437 #76B234 #34B2AF
square
#7034B2 #B23437 #76B234 #34B2AF
split-complementary
#7034B2 #B2AF34 #37B234
monochromatic
#341853 #522683 #7034B2 #8F56CE #AE85DB

Accessibility & contrast

On white

7.44
#7034B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7034B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7034B2#FFFFFF#000000##FFFFFF
##7034B21.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#62526F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7034b2;
/* rgb */ color: rgb(112, 52, 178);
/* oklch */ color: oklch(47.3% 0.189 301.1);
Tailwind
colors: {
  custom: {
    50: '#9f70ca',
    500: '#7034b2',
    950: '#000000',
  },
}
SCSS
$custom: #7034b2;
$custom-light: #9f70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7034b2",
  "rgb": {
    "r": 112,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 268.571,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47254,
    "c": 0.18903,
    "h": 301.1
  },
  "luminance": 0.09115
}

Semantic roles & 50–950 ramp

primary
#7034B2
secondary
#A3C57D
accent
#DE4A97
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7034B2

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

Preview Lab → · Contrast checker → · Palette generator →

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