#7034BB#7034BB

#7034BB is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.0% C 0.199 H 298.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7034BB
RGBrgb(112, 52, 187)
HSLhsl(267, 56%, 47%)
HSVhsv(267, 72%, 73%)
CMYKcmyk(40.1%, 72.2%, 0%, 26.7%)
CIE-LABlab(36.91, 52.98, -60.94)
CIE-LCHlch(36.91, 80.75, 311.01°)
OKLaboklab(47.97% 0.0961 -0.174)
OKLCHoklch(47.97% 0.199 298.9)
XYZxyz(16.8774, 9.4884, 47.9463)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7034BB #7FBB34
analogous
#343BBB #7034BB #B434BB
triadic
#7034BB #BB7034 #34BB70
tetradic
#7034BB #BB343B #7FBB34 #34BBB4
square
#7034BB #BB343B #7FBB34 #34BBB4
split-complementary
#7034BB #BBB434 #3BBB34
monochromatic
#37195B #53278B #7034BB #905BD1 #B08BDF

Accessibility & contrast

On white

7.25
#7034BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7034BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7034BB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7034BB#FFFFFF#000000##FFFFFF
##7034BB1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#5E5674
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7034bb;
/* rgb */ color: rgb(112, 52, 187);
/* oklch */ color: oklch(48.0% 0.199 298.9);
Tailwind
colors: {
  custom: {
    50: '#9f71d0',
    500: '#7034bb',
    950: '#000000',
  },
}
SCSS
$custom: #7034bb;
$custom-light: #9f71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7034bb",
  "rgb": {
    "r": 112,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 266.667,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47973,
    "c": 0.19882,
    "h": 298.9
  },
  "luminance": 0.09489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7034BB

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

Preview Lab → · Contrast checker → · Palette generator →

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