#7162AF#7162AF

#7162AF is a mid, moderate violet. Relative luminance 0.153; OKLCH L 54.5% C 0.118 H 290.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7162AF
RGBrgb(113, 98, 175)
HSLhsl(252, 32%, 54%)
HSVhsv(252, 44%, 69%)
CMYKcmyk(35.4%, 44%, 0%, 31.4%)
CIE-LABlab(46.10, 24.25, -39.11)
CIE-LCHlch(46.10, 46.02, 301.80°)
OKLaboklab(54.5% 0.0421 -0.11)
OKLCHoklch(54.5% 0.118 290.9)
XYZxyz(18.9136, 15.3408, 42.5137)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162AF #A0AF62
analogous
#6279AF #7162AF #9762AF
triadic
#7162AF #AF7162 #62AF71
tetradic
#7162AF #AF6279 #A0AF62 #62AF97
square
#7162AF #AF6279 #A0AF62 #62AF97
split-complementary
#7162AF #AF9762 #79AF62
monochromatic
#3C3364 #55478C #7162AF #968BC4 #BAB3D8

Accessibility & contrast

On white

5.16
#7162AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7162AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7162AF#FFFFFF#000000##FFFFFF
##7162AF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496FB2
Deuteranopia (green-blind)
#4A6CAD
Tritanopia (blue-blind)
#627180
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7162af;
/* rgb */ color: rgb(113, 98, 175);
/* oklch */ color: oklch(54.5% 0.118 290.9);
Tailwind
colors: {
  custom: {
    50: '#9c8ec7',
    500: '#7162af',
    950: '#000000',
  },
}
SCSS
$custom: #7162af;
$custom-light: #9c8ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#7162af",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 251.688,
    "s": 32.489,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54498,
    "c": 0.11779,
    "h": 290.9
  },
  "luminance": 0.15341
}

Semantic roles & 50–950 ramp

primary
#7162AF
secondary
#C0C7A6
accent
#C95FB4
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #7162AF

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

Preview Lab → · Contrast checker → · Palette generator →

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