#7147AF#7147AF

#7147AF is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.8% C 0.160 H 299.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7147AF
RGBrgb(113, 71, 175)
HSLhsl(264, 42%, 48%)
HSVhsv(264, 59%, 69%)
CMYKcmyk(35.4%, 59.4%, 0%, 31.4%)
CIE-LABlab(39.77, 40.22, -49.21)
CIE-LCHlch(39.77, 63.56, 309.26°)
OKLaboklab(49.79% 0.0778 -0.1396)
OKLCHoklch(49.79% 0.16 299.1)
XYZxyz(16.7993, 11.1122, 41.8089)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147AF #85AF47
analogous
#4751AF #7147AF #A547AF
triadic
#7147AF #AF7147 #47AF71
tetradic
#7147AF #AF4751 #85AF47 #47AFA5
square
#7147AF #AF4751 #85AF47 #47AFA5
split-complementary
#7147AF #AFA547 #51AF47
monochromatic
#392458 #553583 #7147AF #916FC4 #B29AD6

Accessibility & contrast

On white

6.52
#7147AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7147AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7147AF#FFFFFF#000000##FFFFFF
##7147AF1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5EB2
Deuteranopia (green-blind)
#235DAD
Tritanopia (blue-blind)
#635D74
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7147af;
/* rgb */ color: rgb(113, 71, 175);
/* oklch */ color: oklch(49.8% 0.160 299.1);
Tailwind
colors: {
  custom: {
    50: '#9e7cc7',
    500: '#7147af',
    950: '#000000',
  },
}
SCSS
$custom: #7147af;
$custom-light: #9e7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7147af",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 264.231,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49786,
    "c": 0.15983,
    "h": 299.1
  },
  "luminance": 0.11112
}

Semantic roles & 50–950 ramp

primary
#7147AF
secondary
#AEC28F
accent
#D256A0
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7147AF

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

Preview Lab → · Contrast checker → · Palette generator →

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