#7034C3#7034C3

#7034C3 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.6% C 0.207 H 297.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7034C3
RGBrgb(112, 52, 195)
HSLhsl(265, 58%, 48%)
HSVhsv(265, 73%, 76%)
CMYKcmyk(42.6%, 73.3%, 0%, 23.5%)
CIE-LABlab(37.55, 55.00, -64.58)
CIE-LCHlch(37.55, 84.82, 310.42°)
OKLaboklab(48.63% 0.0944 -0.1847)
OKLCHoklch(48.63% 0.207 297.1)
XYZxyz(17.7578, 9.8405, 52.5830)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7034C3 #87C334
analogous
#343FC3 #7034C3 #B734C3
triadic
#7034C3 #C37034 #34C370
tetradic
#7034C3 #C3343F #87C334 #34C3B7
square
#7034C3 #C3343F #87C334 #34C3B7
split-complementary
#7034C3 #C3B734 #3FC334
monochromatic
#381A62 #542793 #7034C3 #9160D5 #B290E1

Accessibility & contrast

On white

7.07
#7034C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7034C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7034C3
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7034C3#FFFFFF#000000##FFFFFF
##7034C31.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#5A5979
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7034c3;
/* rgb */ color: rgb(112, 52, 195);
/* oklch */ color: oklch(48.6% 0.207 297.1);
Tailwind
colors: {
  custom: {
    50: '#a071d6',
    500: '#7034c3',
    950: '#000000',
  },
}
SCSS
$custom: #7034c3;
$custom-light: #a071d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7034c3",
  "rgb": {
    "r": 112,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 265.175,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48632,
    "c": 0.20747,
    "h": 297.1
  },
  "luminance": 0.09841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7034C3

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

Preview Lab → · Contrast checker → · Palette generator →

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