#7162AA#7162AA

#7162AA is a mid, moderate violet. Relative luminance 0.151; OKLCH L 54.2% C 0.111 H 291.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7162AA
RGBrgb(113, 98, 170)
HSLhsl(253, 30%, 53%)
HSVhsv(253, 42%, 67%)
CMYKcmyk(33.5%, 42.4%, 0%, 33.3%)
CIE-LABlab(45.84, 22.87, -36.60)
CIE-LCHlch(45.84, 43.16, 302.01°)
OKLaboklab(54.21% 0.0412 -0.1027)
OKLCHoklch(54.21% 0.111 291.9)
XYZxyz(18.4316, 15.1480, 39.9752)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162AA #9BAA62
analogous
#6277AA #7162AA #9562AA
triadic
#7162AA #AA7162 #62AA71
tetradic
#7162AA #AA6277 #9BAA62 #62AA95
square
#7162AA #AA6277 #9BAA62 #62AA95
split-complementary
#7162AA #AA9562 #77AA62
monochromatic
#3C335E #554986 #7162AA #958ABF #B9B1D5

Accessibility & contrast

On white

5.21
#7162AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7162AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7162AA#FFFFFF#000000##FFFFFF
##7162AA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6EAD
Deuteranopia (green-blind)
#4D6BA8
Tritanopia (blue-blind)
#636F7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7162aa;
/* rgb */ color: rgb(113, 98, 170);
/* oklch */ color: oklch(54.2% 0.111 291.9);
Tailwind
colors: {
  custom: {
    50: '#9c8ec3',
    500: '#7162aa',
    950: '#000000',
  },
}
SCSS
$custom: #7162aa;
$custom-light: #9c8ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#7162aa",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 252.5,
    "s": 29.752,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54214,
    "c": 0.11065,
    "h": 291.9
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

primary
#7162AA
secondary
#BDC4A4
accent
#C662B1
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C12
muted
#7E7D81

Preview Lab

Preview with #7162AA

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

Preview Lab → · Contrast checker → · Palette generator →

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