#7034BD#7034BD

#7034BD is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.1% C 0.201 H 298.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7034BD
RGBrgb(112, 52, 189)
HSLhsl(266, 57%, 47%)
HSVhsv(266, 72%, 74%)
CMYKcmyk(40.7%, 72.5%, 0%, 25.9%)
CIE-LABlab(37.07, 53.48, -61.85)
CIE-LCHlch(37.07, 81.77, 310.85°)
OKLaboklab(48.14% 0.0957 -0.1767)
OKLCHoklch(48.14% 0.201 298.4)
XYZxyz(17.0930, 9.5746, 49.0818)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7034BD #81BD34
analogous
#343DBD #7034BD #B434BD
triadic
#7034BD #BD7034 #34BD70
tetradic
#7034BD #BD343D #81BD34 #34BDB4
square
#7034BD #BD343D #81BD34 #34BDB4
split-complementary
#7034BD #BDB434 #3DBD34
monochromatic
#371A5D #54278D #7034BD #905CD2 #B18CDF

Accessibility & contrast

On white

7.20
#7034BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7034BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7034BD
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7034BD#FFFFFF#000000##FFFFFF
##7034BD1.007.202.917.20
#FFFFFF7.201.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#5D5775
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7034bd;
/* rgb */ color: rgb(112, 52, 189);
/* oklch */ color: oklch(48.1% 0.201 298.4);
Tailwind
colors: {
  custom: {
    50: '#a071d2',
    500: '#7034bd',
    950: '#000000',
  },
}
SCSS
$custom: #7034bd;
$custom-light: #a071d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7034bd",
  "rgb": {
    "r": 112,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 266.277,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48136,
    "c": 0.201,
    "h": 298.4
  },
  "luminance": 0.09575
}

Semantic roles & 50–950 ramp

primary
#7034BD
secondary
#ABCA83
accent
#E0489D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #7034BD

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

Preview Lab → · Contrast checker → · Palette generator →

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