#7034BA#7034BA

#7034BA is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.9% C 0.198 H 299.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7034BA
RGBrgb(112, 52, 186)
HSLhsl(267, 56%, 47%)
HSVhsv(267, 72%, 73%)
CMYKcmyk(39.8%, 72%, 0%, 27.1%)
CIE-LABlab(36.83, 52.73, -60.48)
CIE-LCHlch(36.83, 80.24, 311.09°)
OKLaboklab(47.89% 0.0963 -0.1727)
OKLCHoklch(47.89% 0.198 299.1)
XYZxyz(16.7708, 9.4457, 47.3845)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7034BA #7EBA34
analogous
#343BBA #7034BA #B334BA
triadic
#7034BA #BA7034 #34BA70
tetradic
#7034BA #BA343B #7EBA34 #34BAB3
square
#7034BA #BA343B #7EBA34 #34BAB3
split-complementary
#7034BA #BAB334 #3BBA34
monochromatic
#36195A #53278A #7034BA #8F5AD1 #B08ADE

Accessibility & contrast

On white

7.27
#7034BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7034BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7034BA
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7034BA#FFFFFF#000000##FFFFFF
##7034BA1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#5E5574
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7034ba;
/* rgb */ color: rgb(112, 52, 186);
/* oklch */ color: oklch(47.9% 0.198 299.1);
Tailwind
colors: {
  custom: {
    50: '#9f71d0',
    500: '#7034ba',
    950: '#000000',
  },
}
SCSS
$custom: #7034ba;
$custom-light: #9f71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7034ba",
  "rgb": {
    "r": 112,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 266.866,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47892,
    "c": 0.19774,
    "h": 299.1
  },
  "luminance": 0.09446
}

Semantic roles & 50–950 ramp

primary
#7034BA
secondary
#A9C881
accent
#E0489C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7034BA

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

Preview Lab → · Contrast checker → · Palette generator →

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