#7147AA#7147AA

#7147AA is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.4% C 0.154 H 300.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7147AA
RGBrgb(113, 71, 170)
HSLhsl(265, 41%, 47%)
HSVhsv(265, 58%, 67%)
CMYKcmyk(33.5%, 58.2%, 0%, 33.3%)
CIE-LABlab(39.44, 38.91, -46.77)
CIE-LCHlch(39.44, 60.84, 309.76°)
OKLaboklab(49.44% 0.0778 -0.1324)
OKLCHoklch(49.44% 0.154 300.4)
XYZxyz(16.3173, 10.9194, 39.2704)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147AA #80AA47
analogous
#474EAA #7147AA #A347AA
triadic
#7147AA #AA7147 #47AA71
tetradic
#7147AA #AA474E #80AA47 #47AAA3
square
#7147AA #AA474E #80AA47 #47AAA3
split-complementary
#7147AA #AAA347 #4EAA47
monochromatic
#382354 #54357F #7147AA #916CC2 #B198D4

Accessibility & contrast

On white

6.60
#7147AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7147AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147AA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147AA#FFFFFF#000000##FFFFFF
##7147AA1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185DAD
Deuteranopia (green-blind)
#2A5CA8
Tritanopia (blue-blind)
#655B71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7147aa;
/* rgb */ color: rgb(113, 71, 170);
/* oklch */ color: oklch(49.4% 0.154 300.4);
Tailwind
colors: {
  custom: {
    50: '#9d7cc4',
    500: '#7147aa',
    950: '#000000',
  },
}
SCSS
$custom: #7147aa;
$custom-light: #9d7cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7147aa",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 265.455,
    "s": 41.079,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49444,
    "c": 0.15362,
    "h": 300.4
  },
  "luminance": 0.10919
}

Semantic roles & 50–950 ramp

primary
#7147AA
secondary
#AAC08D
accent
#D1579D
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #7147AA

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

Preview Lab → · Contrast checker → · Palette generator →

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