#7167A2#7167A2

#7167A2 is a mid, moderate violet. Relative luminance 0.158; OKLCH L 54.8% C 0.091 H 290.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7167A2
RGBrgb(113, 103, 162)
HSLhsl(250, 24%, 52%)
HSVhsv(250, 36%, 64%)
CMYKcmyk(30.2%, 36.4%, 0%, 36.5%)
CIE-LABlab(46.74, 17.67, -30.48)
CIE-LCHlch(46.74, 35.23, 300.11°)
OKLaboklab(54.77% 0.0324 -0.0849)
OKLCHoklch(54.77% 0.091 290.9)
XYZxyz(18.1802, 15.8195, 36.2710)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7167A2 #98A267
analogous
#677BA2 #7167A2 #8F67A2
triadic
#7167A2 #A27167 #67A271
tetradic
#7167A2 #A2677B #98A267 #67A28F
square
#7167A2 #A2677B #98A267 #67A28F
split-complementary
#7167A2 #A28F67 #7BA267
monochromatic
#3C3658 #564D7E #7167A2 #948DB9 #B8B3D0

Accessibility & contrast

On white

5.04
#7167A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7167A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7167A2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7167A2#FFFFFF#000000##FFFFFF
##7167A21.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5670A4
Deuteranopia (green-blind)
#576EA0
Tritanopia (blue-blind)
#66717D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7167a2;
/* rgb */ color: rgb(113, 103, 162);
/* oklch */ color: oklch(54.8% 0.091 290.9);
Tailwind
colors: {
  custom: {
    50: '#9b92be',
    500: '#7167a2',
    950: '#000000',
  },
}
SCSS
$custom: #7167a2;
$custom-light: #9b92be;
$custom-dark: #000000;
JSON
{
  "hex": "#7167a2",
  "rgb": {
    "r": 113,
    "g": 103,
    "b": 162
  },
  "hsl": {
    "h": 250.169,
    "s": 24.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54771,
    "c": 0.09091,
    "h": 290.9
  },
  "luminance": 0.1582
}

Semantic roles & 50–950 ramp

primary
#7167A2
secondary
#BBBFA5
accent
#C167B1
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0E0D12
muted
#7E7D81

Preview Lab

Preview with #7167A2

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

Preview Lab → · Contrast checker → · Palette generator →

#7167A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva