#7147AC#7147AC

#7147AC is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.6% C 0.156 H 299.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7147AC
RGBrgb(113, 71, 172)
HSLhsl(265, 42%, 48%)
HSVhsv(265, 59%, 67%)
CMYKcmyk(34.3%, 58.7%, 0%, 32.5%)
CIE-LABlab(39.57, 39.43, -47.75)
CIE-LCHlch(39.57, 61.93, 309.55°)
OKLaboklab(49.58% 0.0778 -0.1353)
OKLCHoklch(49.58% 0.156 299.9)
XYZxyz(16.5079, 10.9956, 40.2744)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147AC #82AC47
analogous
#4750AC #7147AC #A347AC
triadic
#7147AC #AC7147 #47AC71
tetradic
#7147AC #AC4750 #82AC47 #47ACA3
square
#7147AC #AC4750 #82AC47 #47ACA3
split-complementary
#7147AC #ACA347 #50AC47
monochromatic
#382355 #553581 #7147AC #916DC3 #B299D5

Accessibility & contrast

On white

6.56
#7147AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7147AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7147AC#FFFFFF#000000##FFFFFF
##7147AC1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145DAF
Deuteranopia (green-blind)
#285CAA
Tritanopia (blue-blind)
#645C72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7147ac;
/* rgb */ color: rgb(113, 71, 172);
/* oklch */ color: oklch(49.6% 0.156 299.9);
Tailwind
colors: {
  custom: {
    50: '#9d7cc5',
    500: '#7147ac',
    950: '#000000',
  },
}
SCSS
$custom: #7147ac;
$custom-light: #9d7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7147ac",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 264.95,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4958,
    "c": 0.1561,
    "h": 299.9
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#7147AC
secondary
#ACC18E
accent
#D1569E
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7147AC

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

Preview Lab → · Contrast checker → · Palette generator →

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