#7034B3#7034B3

#7034B3 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.190 H 300.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7034B3
RGBrgb(112, 52, 179)
HSLhsl(268, 55%, 45%)
HSVhsv(268, 71%, 70%)
CMYKcmyk(37.4%, 70.9%, 0%, 29.8%)
CIE-LABlab(36.28, 50.98, -57.23)
CIE-LCHlch(36.28, 76.64, 311.70°)
OKLaboklab(47.33% 0.0976 -0.1631)
OKLCHoklch(47.33% 0.19 300.9)
XYZxyz(16.0448, 9.1553, 43.5609)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7034B3 #77B334
analogous
#3438B3 #7034B3 #AF34B3
triadic
#7034B3 #B37034 #34B370
tetradic
#7034B3 #B33438 #77B334 #34B3AF
square
#7034B3 #B33438 #77B334 #34B3AF
split-complementary
#7034B3 #B3AF34 #38B334
monochromatic
#351854 #522684 #7034B3 #8F56CE #AE86DC

Accessibility & contrast

On white

7.42
#7034B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7034B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7034B3
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7034B3#FFFFFF#000000##FFFFFF
##7034B31.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#615370
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7034b3;
/* rgb */ color: rgb(112, 52, 179);
/* oklch */ color: oklch(47.3% 0.190 300.9);
Tailwind
colors: {
  custom: {
    50: '#9f70cb',
    500: '#7034b3',
    950: '#000000',
  },
}
SCSS
$custom: #7034b3;
$custom-light: #9f70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7034b3",
  "rgb": {
    "r": 112,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 268.346,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47333,
    "c": 0.19012,
    "h": 300.9
  },
  "luminance": 0.09155
}

Semantic roles & 50–950 ramp

primary
#7034B3
secondary
#A3C57D
accent
#DE4998
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7034B3

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

Preview Lab → · Contrast checker → · Palette generator →

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