#7161D2#7161D2

#7161D2 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.5% C 0.168 H 286.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7161D2
RGBrgb(113, 97, 210)
HSLhsl(248, 56%, 60%)
HSVhsv(248, 54%, 82%)
CMYKcmyk(46.2%, 53.8%, 0%, 17.6%)
CIE-LABlab(47.90, 34.87, -56.48)
CIE-LCHlch(47.90, 66.38, 301.69°)
OKLaboklab(56.51% 0.0468 -0.1609)
OKLCHoklch(56.51% 0.168 286.2)
XYZxyz(22.7142, 16.7123, 62.9892)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161D2 #C2D261
analogous
#6189D2 #7161D2 #AA61D2
triadic
#7161D2 #D27161 #61D271
tetradic
#7161D2 #D26189 #C2D261 #61D2AA
square
#7161D2 #D26189 #C2D261 #61D2AA
split-complementary
#7161D2 #D2AA61 #89D261
monochromatic
#372990 #4A36BF #7161D2 #9C91E0 #C7C0ED

Accessibility & contrast

On white

4.84
#7161D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7161D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7161D2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161D2#FFFFFF#000000##FFFFFF
##7161D21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2575D6
Deuteranopia (green-blind)
#236ED0
Tritanopia (blue-blind)
#517A90
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7161d2;
/* rgb */ color: rgb(113, 97, 210);
/* oklch */ color: oklch(56.5% 0.168 286.2);
Tailwind
colors: {
  custom: {
    50: '#a08ee0',
    500: '#7161d2',
    950: '#000000',
  },
}
SCSS
$custom: #7161d2;
$custom-light: #a08ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#7161d2",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 210
  },
  "hsl": {
    "h": 248.496,
    "s": 55.665,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56505,
    "c": 0.1676,
    "h": 286.2
  },
  "luminance": 0.16713
}

Semantic roles & 50–950 ramp

primary
#7161D2
secondary
#D7DDB2
accent
#C322AC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7161D2

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

Preview Lab → · Contrast checker → · Palette generator →

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