#7034B7#7034B7

#7034B7 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.7% C 0.194 H 299.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7034B7
RGBrgb(112, 52, 183)
HSLhsl(267, 56%, 46%)
HSVhsv(267, 72%, 72%)
CMYKcmyk(38.8%, 71.6%, 0%, 28.2%)
CIE-LABlab(36.59, 51.98, -59.09)
CIE-LCHlch(36.59, 78.70, 311.34°)
OKLaboklab(47.65% 0.0969 -0.1686)
OKLCHoklch(47.65% 0.194 299.9)
XYZxyz(16.4552, 9.3195, 45.7225)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7034B7 #7BB734
analogous
#3439B7 #7034B7 #B134B7
triadic
#7034B7 #B77034 #34B770
tetradic
#7034B7 #B73439 #7BB734 #34B7B1
square
#7034B7 #B73439 #7BB734 #34B7B1
split-complementary
#7034B7 #B7B134 #39B734
monochromatic
#361958 #532687 #7034B7 #8F59D0 #AF88DD

Accessibility & contrast

On white

7.33
#7034B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7034B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7034B7#FFFFFF#000000##FFFFFF
##7034B71.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#605472
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7034b7;
/* rgb */ color: rgb(112, 52, 183);
/* oklch */ color: oklch(47.7% 0.194 299.9);
Tailwind
colors: {
  custom: {
    50: '#9f71ce',
    500: '#7034b7',
    950: '#000000',
  },
}
SCSS
$custom: #7034b7;
$custom-light: #9f71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7034b7",
  "rgb": {
    "r": 112,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 267.481,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47651,
    "c": 0.19448,
    "h": 299.9
  },
  "luminance": 0.0932
}

Semantic roles & 50–950 ramp

primary
#7034B7
secondary
#A6C780
accent
#DF499A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7034B7

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

Preview Lab → · Contrast checker → · Palette generator →

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