#7034C2#7034C2

#7034C2 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.5% C 0.206 H 297.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7034C2
RGBrgb(112, 52, 194)
HSLhsl(265, 58%, 48%)
HSVhsv(265, 73%, 76%)
CMYKcmyk(42.3%, 73.2%, 0%, 23.9%)
CIE-LABlab(37.47, 54.75, -64.13)
CIE-LCHlch(37.47, 84.32, 310.49°)
OKLaboklab(48.55% 0.0946 -0.1834)
OKLCHoklch(48.55% 0.206 297.3)
XYZxyz(17.6451, 9.7954, 51.9895)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7034C2 #86C234
analogous
#343FC2 #7034C2 #B734C2
triadic
#7034C2 #C27034 #34C270
tetradic
#7034C2 #C2343F #86C234 #34C2B7
square
#7034C2 #C2343F #86C234 #34C2B7
split-complementary
#7034C2 #C2B734 #3FC234
monochromatic
#381A61 #542792 #7034C2 #915FD4 #B28FE1

Accessibility & contrast

On white

7.10
#7034C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7034C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7034C2#FFFFFF#000000##FFFFFF
##7034C21.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#5B5978
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7034c2;
/* rgb */ color: rgb(112, 52, 194);
/* oklch */ color: oklch(48.5% 0.206 297.3);
Tailwind
colors: {
  custom: {
    50: '#a071d5',
    500: '#7034c2',
    950: '#000000',
  },
}
SCSS
$custom: #7034c2;
$custom-light: #a071d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7034c2",
  "rgb": {
    "r": 112,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 265.352,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48548,
    "c": 0.20639,
    "h": 297.3
  },
  "luminance": 0.09796
}

Semantic roles & 50–950 ramp

primary
#7034C2
secondary
#AECC86
accent
#E147A0
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7034C2

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

Preview Lab → · Contrast checker → · Palette generator →

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