#7151AE#7151AE

#7151AE is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.4% C 0.143 H 296.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7151AE
RGBrgb(113, 81, 174)
HSLhsl(261, 36%, 50%)
HSVhsv(261, 53%, 68%)
CMYKcmyk(35.1%, 53.4%, 0%, 31.8%)
CIE-LABlab(41.92, 34.18, -45.17)
CIE-LCHlch(41.92, 56.64, 307.12°)
OKLaboklab(51.35% 0.0649 -0.1277)
OKLCHoklch(51.35% 0.143 296.9)
XYZxyz(17.3906, 12.4513, 41.5233)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7151AE #8EAE51
analogous
#515FAE #7151AE #A051AE
triadic
#7151AE #AE7151 #51AE71
tetradic
#7151AE #AE515F #8EAE51 #51AEA0
square
#7151AE #AE515F #8EAE51 #51AEA0
split-complementary
#7151AE #AEA051 #5FAE51
monochromatic
#3B2A5A #563E84 #7151AE #937BC1 #B5A5D5

Accessibility & contrast

On white

6.02
#7151AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7151AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7151AE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7151AE#FFFFFF#000000##FFFFFF
##7151AE1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C63B1
Deuteranopia (green-blind)
#3562AC
Tritanopia (blue-blind)
#636478
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7151ae;
/* rgb */ color: rgb(113, 81, 174);
/* oklch */ color: oklch(51.4% 0.143 296.9);
Tailwind
colors: {
  custom: {
    50: '#9d83c7',
    500: '#7151ae',
    950: '#000000',
  },
}
SCSS
$custom: #7151ae;
$custom-light: #9d83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7151ae",
  "rgb": {
    "r": 113,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 260.645,
    "s": 36.471,
    "l": 50
  },
  "oklch": {
    "l": 0.51353,
    "c": 0.14329,
    "h": 296.9
  },
  "luminance": 0.12452
}

Semantic roles & 50–950 ramp

primary
#7151AE
secondary
#B4C299
accent
#CC5BA6
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #7151AE

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

Preview Lab → · Contrast checker → · Palette generator →

#7151AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva