#7047AC#7047AC

#7047AC is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.5% C 0.156 H 299.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7047AC
RGBrgb(112, 71, 172)
HSLhsl(264, 42%, 48%)
HSVhsv(264, 59%, 67%)
CMYKcmyk(34.9%, 58.7%, 0%, 32.5%)
CIE-LABlab(39.46, 39.19, -47.94)
CIE-LCHlch(39.46, 61.91, 309.27°)
OKLaboklab(49.47% 0.0765 -0.1359)
OKLCHoklch(49.47% 0.156 299.4)
XYZxyz(16.3799, 10.9296, 40.2684)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047AC #83AC47
analogous
#4751AC #7047AC #A247AC
triadic
#7047AC #AC7047 #47AC70
tetradic
#7047AC #AC4751 #83AC47 #47ACA2
square
#7047AC #AC4751 #83AC47 #47ACA2
split-complementary
#7047AC #ACA247 #51AC47
monochromatic
#382355 #543581 #7047AC #906DC3 #B199D5

Accessibility & contrast

On white

6.59
#7047AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7047AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7047AC#FFFFFF#000000##FFFFFF
##7047AC1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135DAF
Deuteranopia (green-blind)
#265CAA
Tritanopia (blue-blind)
#635C72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7047ac;
/* rgb */ color: rgb(112, 71, 172);
/* oklch */ color: oklch(49.5% 0.156 299.4);
Tailwind
colors: {
  custom: {
    50: '#9d7cc5',
    500: '#7047ac',
    950: '#000000',
  },
}
SCSS
$custom: #7047ac;
$custom-light: #9d7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7047ac",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 264.356,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49473,
    "c": 0.15594,
    "h": 299.4
  },
  "luminance": 0.1093
}

Semantic roles & 50–950 ramp

primary
#7047AC
secondary
#ACC18E
accent
#D1569F
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #7047AC

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

Preview Lab → · Contrast checker → · Palette generator →

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