#7161EB#7161EB

#7161EB is a mid, highly saturated blue. Relative luminance 0.181; OKLCH L 58.3% C 0.200 H 283.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7161EB
RGBrgb(113, 97, 235)
HSLhsl(247, 78%, 65%)
HSVhsv(247, 59%, 92%)
CMYKcmyk(51.9%, 58.7%, 0%, 7.8%)
CIE-LABlab(49.56, 42.28, -67.95)
CIE-LCHlch(49.56, 80.03, 301.89°)
OKLaboklab(58.27% 0.0468 -0.1947)
OKLCHoklch(58.27% 0.2 283.5)
XYZxyz(26.0756, 18.0568, 80.6925)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161EB #DBEB61
analogous
#6196EB #7161EB #B661EB
triadic
#7161EB #EB7161 #61EB71
tetradic
#7161EB #EB6196 #DBEB61 #61EBB6
square
#7161EB #EB6196 #DBEB61 #61EBB6
split-complementary
#7161EB #EBB661 #96EB61
monochromatic
#2A18BA #402BE4 #7161EB #A297F2 #D3CEF9

Accessibility & contrast

On white

4.55
#7161EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7161EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7161EB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161EB#FFFFFF#000000##000000
##7161EB1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#3F819D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7161eb;
/* rgb */ color: rgb(113, 97, 235);
/* oklch */ color: oklch(58.3% 0.200 283.5);
Tailwind
colors: {
  custom: {
    50: '#a38ef2',
    500: '#7161eb',
    950: '#000000',
  },
}
SCSS
$custom: #7161eb;
$custom-light: #a38ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7161eb",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 246.957,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58271,
    "c": 0.20021,
    "h": 283.5
  },
  "luminance": 0.18058
}

Semantic roles & 50–950 ramp

primary
#7161EB
secondary
#E6EBBD
accent
#DA0CC2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7161EB

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

Preview Lab → · Contrast checker → · Palette generator →

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