#7161D8#7161D8

#7161D8 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.9% C 0.176 H 285.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7161D8
RGBrgb(113, 97, 216)
HSLhsl(248, 60%, 61%)
HSVhsv(248, 55%, 85%)
CMYKcmyk(47.7%, 55.1%, 0%, 15.3%)
CIE-LABlab(48.28, 36.64, -59.28)
CIE-LCHlch(48.28, 69.69, 301.72°)
OKLaboklab(56.92% 0.0469 -0.1692)
OKLCHoklch(56.92% 0.176 285.5)
XYZxyz(23.4758, 17.0169, 67.0001)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161D8 #C8D861
analogous
#618DD8 #7161D8 #AD61D8
triadic
#7161D8 #D87161 #61D871
tetradic
#7161D8 #D8618D #C8D861 #61D8AD
square
#7161D8 #D8618D #C8D861 #61D8AD
split-complementary
#7161D8 #D8AD61 #8DD861
monochromatic
#352699 #4632CA #7161D8 #9D92E4 #C9C3F0

Accessibility & contrast

On white

4.77
#7161D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7161D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7161D8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161D8#FFFFFF#000000##FFFFFF
##7161D81.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A76DC
Deuteranopia (green-blind)
#146FD5
Tritanopia (blue-blind)
#4E7B93
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7161d8;
/* rgb */ color: rgb(113, 97, 216);
/* oklch */ color: oklch(56.9% 0.176 285.5);
Tailwind
colors: {
  custom: {
    50: '#a18ee5',
    500: '#7161d8',
    950: '#000000',
  },
}
SCSS
$custom: #7161d8;
$custom-light: #a18ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#7161d8",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 216
  },
  "hsl": {
    "h": 248.067,
    "s": 60.406,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56915,
    "c": 0.17556,
    "h": 285.5
  },
  "luminance": 0.17018
}

Semantic roles & 50–950 ramp

primary
#7161D8
secondary
#DBE1B4
accent
#C81DB1
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #7161D8

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

Preview Lab → · Contrast checker → · Palette generator →

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