#7034B5#7034B5

#7034B5 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.192 H 300.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7034B5
RGBrgb(112, 52, 181)
HSLhsl(268, 55%, 46%)
HSVhsv(268, 71%, 71%)
CMYKcmyk(38.1%, 71.3%, 0%, 29%)
CIE-LABlab(36.44, 51.48, -58.16)
CIE-LCHlch(36.44, 77.67, 311.51°)
OKLaboklab(47.49% 0.0973 -0.1659)
OKLCHoklch(47.49% 0.192 300.4)
XYZxyz(16.2485, 9.2368, 44.6339)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7034B5 #79B534
analogous
#3438B5 #7034B5 #B034B5
triadic
#7034B5 #B57034 #34B570
tetradic
#7034B5 #B53438 #79B534 #34B5B0
square
#7034B5 #B53438 #79B534 #34B5B0
split-complementary
#7034B5 #B5B034 #38B534
monochromatic
#351956 #532685 #7034B5 #8F57CF #AF87DC

Accessibility & contrast

On white

7.38
#7034B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7034B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7034B5
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7034B5#FFFFFF#000000##FFFFFF
##7034B51.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#605371
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7034b5;
/* rgb */ color: rgb(112, 52, 181);
/* oklch */ color: oklch(47.5% 0.192 300.4);
Tailwind
colors: {
  custom: {
    50: '#9f71cc',
    500: '#7034b5',
    950: '#000000',
  },
}
SCSS
$custom: #7034b5;
$custom-light: #9f71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7034b5",
  "rgb": {
    "r": 112,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 267.907,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47491,
    "c": 0.1923,
    "h": 300.4
  },
  "luminance": 0.09237
}

Semantic roles & 50–950 ramp

primary
#7034B5
secondary
#A5C67F
accent
#DF4999
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7034B5

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

Preview Lab → · Contrast checker → · Palette generator →

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