#7162AE#7162AE

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

Color values

HEX#7162AE
RGBrgb(113, 98, 174)
HSLhsl(252, 32%, 53%)
HSVhsv(252, 44%, 68%)
CMYKcmyk(35.1%, 43.7%, 0%, 31.8%)
CIE-LABlab(46.04, 23.97, -38.61)
CIE-LCHlch(46.04, 45.45, 301.83°)
OKLaboklab(54.44% 0.0419 -0.1086)
OKLCHoklch(54.44% 0.116 291.1)
XYZxyz(18.8157, 15.3016, 41.9984)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162AE #9FAE62
analogous
#6279AE #7162AE #9762AE
triadic
#7162AE #AE7162 #62AE71
tetradic
#7162AE #AE6279 #9FAE62 #62AE97
square
#7162AE #AE6279 #9FAE62 #62AE97
split-complementary
#7162AE #AE9762 #79AE62
monochromatic
#3C3363 #55488B #7162AE #968AC3 #BAB3D8

Accessibility & contrast

On white

5.17
#7162AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7162AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7162AE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162AE#FFFFFF#000000##FFFFFF
##7162AE1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496EB1
Deuteranopia (green-blind)
#4A6BAC
Tritanopia (blue-blind)
#62707F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7162ae;
/* rgb */ color: rgb(113, 98, 174);
/* oklch */ color: oklch(54.4% 0.116 291.1);
Tailwind
colors: {
  custom: {
    50: '#9c8ec6',
    500: '#7162ae',
    950: '#000000',
  },
}
SCSS
$custom: #7162ae;
$custom-light: #9c8ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#7162ae",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 174
  },
  "hsl": {
    "h": 251.842,
    "s": 31.933,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5444,
    "c": 0.11637,
    "h": 291.1
  },
  "luminance": 0.15302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7162AE

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

Preview Lab → · Contrast checker → · Palette generator →

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