#7162AD#7162AD

#7162AD is a mid, moderate violet. Relative luminance 0.153; OKLCH L 54.4% C 0.115 H 291.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7162AD
RGBrgb(113, 98, 173)
HSLhsl(252, 31%, 53%)
HSVhsv(252, 43%, 68%)
CMYKcmyk(34.7%, 43.4%, 0%, 32.2%)
CIE-LABlab(45.99, 23.70, -38.11)
CIE-LCHlch(45.99, 44.88, 301.87°)
OKLaboklab(54.38% 0.0417 -0.1071)
OKLCHoklch(54.38% 0.115 291.3)
XYZxyz(18.7186, 15.2628, 41.4869)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162AD #9EAD62
analogous
#6278AD #7162AD #9662AD
triadic
#7162AD #AD7162 #62AD71
tetradic
#7162AD #AD6278 #9EAD62 #62AD96
square
#7162AD #AD6278 #9EAD62 #62AD96
split-complementary
#7162AD #AD9662 #78AD62
monochromatic
#3C3362 #55488A #7162AD #958AC2 #BAB2D7

Accessibility & contrast

On white

5.18
#7162AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7162AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7162AD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162AD#FFFFFF#000000##FFFFFF
##7162AD1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6EB0
Deuteranopia (green-blind)
#4B6BAB
Tritanopia (blue-blind)
#62707F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7162ad;
/* rgb */ color: rgb(113, 98, 173);
/* oklch */ color: oklch(54.4% 0.115 291.3);
Tailwind
colors: {
  custom: {
    50: '#9c8ec6',
    500: '#7162ad',
    950: '#000000',
  },
}
SCSS
$custom: #7162ad;
$custom-light: #9c8ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#7162ad",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 173
  },
  "hsl": {
    "h": 252,
    "s": 31.381,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54383,
    "c": 0.11494,
    "h": 291.3
  },
  "luminance": 0.15263
}

Semantic roles & 50–950 ramp

primary
#7162AD
secondary
#BFC6A5
accent
#C860B3
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #7162AD

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

Preview Lab → · Contrast checker → · Palette generator →

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