#7167C2#7167C2

#7167C2 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.6% C 0.137 H 286.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7167C2
RGBrgb(113, 103, 194)
HSLhsl(247, 43%, 58%)
HSVhsv(247, 47%, 76%)
CMYKcmyk(41.8%, 46.9%, 0%, 23.9%)
CIE-LABlab(48.39, 26.60, -46.51)
CIE-LCHlch(48.39, 53.58, 299.77°)
OKLaboklab(56.57% 0.0382 -0.1316)
OKLCHoklch(56.57% 0.137 286.2)
XYZxyz(21.3951, 17.1055, 53.2029)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7167C2 #B8C267
analogous
#678AC2 #7167C2 #9E67C2
triadic
#7167C2 #C27167 #67C271
tetradic
#7167C2 #C2678A #B8C267 #67C29E
square
#7167C2 #C2678A #B8C267 #67C29E
split-complementary
#7167C2 #C29E67 #8AC267
monochromatic
#3A327D #4F44A8 #7167C2 #9A93D4 #C3BEE5

Accessibility & contrast

On white

4.75
#7167C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7167C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7167C2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7167C2#FFFFFF#000000##FFFFFF
##7167C21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4475C5
Deuteranopia (green-blind)
#4270C0
Tritanopia (blue-blind)
#597A8B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7167c2;
/* rgb */ color: rgb(113, 103, 194);
/* oklch */ color: oklch(56.6% 0.137 286.2);
Tailwind
colors: {
  custom: {
    50: '#9e92d5',
    500: '#7167c2',
    950: '#000000',
  },
}
SCSS
$custom: #7167c2;
$custom-light: #9e92d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7167c2",
  "rgb": {
    "r": 113,
    "g": 103,
    "b": 194
  },
  "hsl": {
    "h": 246.593,
    "s": 42.723,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56569,
    "c": 0.13705,
    "h": 286.2
  },
  "luminance": 0.17106
}

Semantic roles & 50–950 ramp

primary
#7167C2
secondary
#D1D5B0
accent
#D355C5
background
#FAF9FD
surface
#F3F1FA
border
#CDCBD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #7167C2

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

Preview Lab → · Contrast checker → · Palette generator →

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