#7161D7#7161D7

#7161D7 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.8% C 0.174 H 285.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7161D7
RGBrgb(113, 97, 215)
HSLhsl(248, 60%, 61%)
HSVhsv(248, 55%, 84%)
CMYKcmyk(47.4%, 54.9%, 0%, 15.7%)
CIE-LABlab(48.22, 36.34, -58.82)
CIE-LCHlch(48.22, 69.14, 301.71°)
OKLaboklab(56.85% 0.0469 -0.1678)
OKLCHoklch(56.85% 0.174 285.6)
XYZxyz(23.3469, 16.9653, 66.3213)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161D7 #C7D761
analogous
#618CD7 #7161D7 #AC61D7
triadic
#7161D7 #D77161 #61D771
tetradic
#7161D7 #D7618C #C7D761 #61D7AC
square
#7161D7 #D7618C #C7D761 #61D7AC
split-complementary
#7161D7 #D7AC61 #8CD761
monochromatic
#362697 #4733C8 #7161D7 #9D92E3 #C9C3F0

Accessibility & contrast

On white

4.78
#7161D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7161D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7161D7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161D7#FFFFFF#000000##FFFFFF
##7161D71.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C76DB
Deuteranopia (green-blind)
#176FD4
Tritanopia (blue-blind)
#4E7B93
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7161d7;
/* rgb */ color: rgb(113, 97, 215);
/* oklch */ color: oklch(56.8% 0.174 285.6);
Tailwind
colors: {
  custom: {
    50: '#a08ee4',
    500: '#7161d7',
    950: '#000000',
  },
}
SCSS
$custom: #7161d7;
$custom-light: #a08ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#7161d7",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 215
  },
  "hsl": {
    "h": 248.136,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56846,
    "c": 0.17425,
    "h": 285.6
  },
  "luminance": 0.16966
}

Semantic roles & 50–950 ramp

primary
#7161D7
secondary
#DAE0B4
accent
#C71EB0
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #7161D7

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

Preview Lab → · Contrast checker → · Palette generator →

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