#7047AA#7047AA

#7047AA is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.3% C 0.153 H 299.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7047AA
RGBrgb(112, 71, 170)
HSLhsl(265, 41%, 47%)
HSVhsv(265, 58%, 67%)
CMYKcmyk(34.1%, 58.2%, 0%, 33.3%)
CIE-LABlab(39.33, 38.66, -46.96)
CIE-LCHlch(39.33, 60.82, 309.47°)
OKLaboklab(49.34% 0.0765 -0.133)
OKLCHoklch(49.34% 0.153 299.9)
XYZxyz(16.1893, 10.8534, 39.2644)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047AA #81AA47
analogous
#4750AA #7047AA #A147AA
triadic
#7047AA #AA7047 #47AA70
tetradic
#7047AA #AA4750 #81AA47 #47AAA1
square
#7047AA #AA4750 #81AA47 #47AAA1
split-complementary
#7047AA #AAA147 #50AA47
monochromatic
#372354 #54357F #7047AA #906CC2 #B198D4

Accessibility & contrast

On white

6.62
#7047AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7047AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7047AA
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7047AA#FFFFFF#000000##FFFFFF
##7047AA1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175CAD
Deuteranopia (green-blind)
#295CA8
Tritanopia (blue-blind)
#645B71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7047aa;
/* rgb */ color: rgb(112, 71, 170);
/* oklch */ color: oklch(49.3% 0.153 299.9);
Tailwind
colors: {
  custom: {
    50: '#9d7cc4',
    500: '#7047aa',
    950: '#000000',
  },
}
SCSS
$custom: #7047aa;
$custom-light: #9d7cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7047aa",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 264.848,
    "s": 41.079,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49336,
    "c": 0.15344,
    "h": 299.9
  },
  "luminance": 0.10854
}

Semantic roles & 50–950 ramp

primary
#7047AA
secondary
#ABC08D
accent
#D1579E
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #7047AA

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

Preview Lab → · Contrast checker → · Palette generator →

#7047AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva