#7161AF#7161AF

#7161AF is a mid, moderate violet. Relative luminance 0.152; OKLCH L 54.3% C 0.119 H 291.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7161AF
RGBrgb(113, 97, 175)
HSLhsl(252, 33%, 53%)
HSVhsv(252, 45%, 69%)
CMYKcmyk(35.4%, 44.6%, 0%, 31.4%)
CIE-LABlab(45.85, 24.86, -39.51)
CIE-LCHlch(45.85, 46.68, 302.17°)
OKLaboklab(54.31% 0.0434 -0.1112)
OKLCHoklch(54.31% 0.119 291.3)
XYZxyz(18.8206, 15.1548, 42.4827)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161AF #9FAF61
analogous
#6178AF #7161AF #9861AF
triadic
#7161AF #AF7161 #61AF71
tetradic
#7161AF #AF6178 #9FAF61 #61AF98
square
#7161AF #AF6178 #9FAF61 #61AF98
split-complementary
#7161AF #AF9861 #78AF61
monochromatic
#3C3263 #55478C #7161AF #968AC4 #BAB2D8

Accessibility & contrast

On white

5.21
#7161AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7161AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7161AF#FFFFFF#000000##FFFFFF
##7161AF1.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)
#476EB2
Deuteranopia (green-blind)
#496BAD
Tritanopia (blue-blind)
#62707F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7161af;
/* rgb */ color: rgb(113, 97, 175);
/* oklch */ color: oklch(54.3% 0.119 291.3);
Tailwind
colors: {
  custom: {
    50: '#9c8ec7',
    500: '#7161af',
    950: '#000000',
  },
}
SCSS
$custom: #7161af;
$custom-light: #9c8ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#7161af",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 175
  },
  "hsl": {
    "h": 252.308,
    "s": 32.773,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54307,
    "c": 0.11938,
    "h": 291.3
  },
  "luminance": 0.15155
}

Semantic roles & 50–950 ramp

primary
#7161AF
secondary
#C0C7A5
accent
#C95FB3
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #7161AF

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

Preview Lab → · Contrast checker → · Palette generator →

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