#7161E5#7161E5

#7161E5 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.8% C 0.193 H 284.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7161E5
RGBrgb(113, 97, 229)
HSLhsl(247, 72%, 64%)
HSVhsv(247, 58%, 90%)
CMYKcmyk(50.7%, 57.6%, 0%, 10.2%)
CIE-LABlab(49.15, 40.49, -65.24)
CIE-LCHlch(49.15, 76.79, 301.83°)
OKLaboklab(57.83% 0.047 -0.1867)
OKLCHoklch(57.83% 0.193 284.1)
XYZxyz(25.2234, 17.7159, 76.2040)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161E5 #D5E561
analogous
#6193E5 #7161E5 #B361E5
triadic
#7161E5 #E57161 #61E571
tetradic
#7161E5 #E56193 #D5E561 #61E5B3
square
#7161E5 #E56193 #D5E561 #61E5B3
split-complementary
#7161E5 #E5B361 #93E561
monochromatic
#2E1DAF #422CDC #7161E5 #A096EE #CFCAF6

Accessibility & contrast

On white

4.62
#7161E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7161E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7161E5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161E5#FFFFFF#000000##FFFFFF
##7161E51.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#447F9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7161e5;
/* rgb */ color: rgb(113, 97, 229);
/* oklch */ color: oklch(57.8% 0.193 284.1);
Tailwind
colors: {
  custom: {
    50: '#a28eee',
    500: '#7161e5',
    950: '#000000',
  },
}
SCSS
$custom: #7161e5;
$custom-light: #a28eee;
$custom-dark: #000000;
JSON
{
  "hex": "#7161e5",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 229
  },
  "hsl": {
    "h": 247.273,
    "s": 71.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57834,
    "c": 0.19253,
    "h": 284.1
  },
  "luminance": 0.17717
}

Semantic roles & 50–950 ramp

primary
#7161E5
secondary
#E2E8BA
accent
#D412BC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7161E5

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

Preview Lab → · Contrast checker → · Palette generator →

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