#7151AD#7151AD

#7151AD is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.3% C 0.142 H 297.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7151AD
RGBrgb(113, 81, 173)
HSLhsl(261, 36%, 50%)
HSVhsv(261, 53%, 68%)
CMYKcmyk(34.7%, 53.2%, 0%, 32.2%)
CIE-LABlab(41.86, 33.91, -44.67)
CIE-LCHlch(41.86, 56.08, 307.20°)
OKLaboklab(51.29% 0.0649 -0.1263)
OKLCHoklch(51.29% 0.142 297.2)
XYZxyz(17.2934, 12.4125, 41.0118)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7151AD #8DAD51
analogous
#515FAD #7151AD #9F51AD
triadic
#7151AD #AD7151 #51AD71
tetradic
#7151AD #AD515F #8DAD51 #51AD9F
square
#7151AD #AD515F #8DAD51 #51AD9F
split-complementary
#7151AD #AD9F51 #5FAD51
monochromatic
#3B2A5A #563D83 #7151AD #937AC1 #B5A4D4

Accessibility & contrast

On white

6.03
#7151AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7151AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7151AD
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7151AD#FFFFFF#000000##FFFFFF
##7151AD1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D63B0
Deuteranopia (green-blind)
#3562AB
Tritanopia (blue-blind)
#646377
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7151ad;
/* rgb */ color: rgb(113, 81, 173);
/* oklch */ color: oklch(51.3% 0.142 297.2);
Tailwind
colors: {
  custom: {
    50: '#9d83c6',
    500: '#7151ad',
    950: '#000000',
  },
}
SCSS
$custom: #7151ad;
$custom-light: #9d83c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7151ad",
  "rgb": {
    "r": 113,
    "g": 81,
    "b": 173
  },
  "hsl": {
    "h": 260.87,
    "s": 36.22,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51289,
    "c": 0.14197,
    "h": 297.2
  },
  "luminance": 0.12413
}

Semantic roles & 50–950 ramp

primary
#7151AD
secondary
#B3C298
accent
#CC5CA5
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #7151AD

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

Preview Lab → · Contrast checker → · Palette generator →

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