#7034C5#7034C5

#7034C5 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.210 H 296.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7034C5
RGBrgb(112, 52, 197)
HSLhsl(265, 58%, 49%)
HSVhsv(265, 74%, 77%)
CMYKcmyk(43.1%, 73.6%, 0%, 22.7%)
CIE-LABlab(37.72, 55.51, -65.48)
CIE-LCHlch(37.72, 85.84, 310.29°)
OKLaboklab(48.8% 0.094 -0.1874)
OKLCHoklch(48.8% 0.21 296.6)
XYZxyz(17.9855, 9.9316, 53.7819)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7034C5 #89C534
analogous
#3440C5 #7034C5 #B934C5
triadic
#7034C5 #C57034 #34C570
tetradic
#7034C5 #C53440 #89C534 #34C5B9
square
#7034C5 #C53440 #89C534 #34C5B9
split-complementary
#7034C5 #C5B934 #40C534
monochromatic
#391A64 #542795 #7034C5 #9161D5 #B391E2

Accessibility & contrast

On white

7.03
#7034C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7034C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7034C5
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7034C5#FFFFFF#000000##FFFFFF
##7034C51.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#595A7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7034c5;
/* rgb */ color: rgb(112, 52, 197);
/* oklch */ color: oklch(48.8% 0.210 296.6);
Tailwind
colors: {
  custom: {
    50: '#a071d8',
    500: '#7034c5',
    950: '#000000',
  },
}
SCSS
$custom: #7034c5;
$custom-light: #a071d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7034c5",
  "rgb": {
    "r": 112,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 264.828,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48799,
    "c": 0.20963,
    "h": 296.6
  },
  "luminance": 0.09932
}

Semantic roles & 50–950 ramp

primary
#7034C5
secondary
#B0CD88
accent
#E146A1
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7034C5

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

Preview Lab → · Contrast checker → · Palette generator →

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