#7161E4#7161E4

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

Color values

HEX#7161E4
RGBrgb(113, 97, 228)
HSLhsl(247, 71%, 64%)
HSVhsv(247, 57%, 89%)
CMYKcmyk(50.4%, 57.5%, 0%, 10.6%)
CIE-LABlab(49.08, 40.20, -64.79)
CIE-LCHlch(49.08, 76.24, 301.82°)
OKLaboklab(57.76% 0.047 -0.1854)
OKLCHoklch(57.76% 0.191 284.2)
XYZxyz(25.0841, 17.6602, 75.4708)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161E4 #D4E461
analogous
#6192E4 #7161E4 #B261E4
triadic
#7161E4 #E47161 #61E471
tetradic
#7161E4 #E46192 #D4E461 #61E4B2
square
#7161E4 #E46192 #D4E461 #61E4B2
split-complementary
#7161E4 #E4B261 #92E461
monochromatic
#2F1EAD #422DDB #7161E4 #A095ED #CFCAF6

Accessibility & contrast

On white

4.63
#7161E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7161E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7161E4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161E4#FFFFFF#000000##FFFFFF
##7161E41.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#457F99
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7161e4;
/* rgb */ color: rgb(113, 97, 228);
/* oklch */ color: oklch(57.8% 0.191 284.2);
Tailwind
colors: {
  custom: {
    50: '#a28eed',
    500: '#7161e4',
    950: '#000000',
  },
}
SCSS
$custom: #7161e4;
$custom-light: #a28eed;
$custom-dark: #000000;
JSON
{
  "hex": "#7161e4",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 228
  },
  "hsl": {
    "h": 247.328,
    "s": 70.811,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57762,
    "c": 0.19123,
    "h": 284.2
  },
  "luminance": 0.17662
}

Semantic roles & 50–950 ramp

primary
#7161E4
secondary
#E2E7B9
accent
#D313BB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7161E4

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

Preview Lab → · Contrast checker → · Palette generator →

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