#7161E9#7161E9

#7161E9 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 58.1% C 0.198 H 283.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7161E9
RGBrgb(113, 97, 233)
HSLhsl(247, 76%, 65%)
HSVhsv(247, 58%, 91%)
CMYKcmyk(51.5%, 58.4%, 0%, 8.6%)
CIE-LABlab(49.43, 41.68, -67.05)
CIE-LCHlch(49.43, 78.95, 301.87°)
OKLaboklab(58.12% 0.0469 -0.192)
OKLCHoklch(58.12% 0.198 283.7)
XYZxyz(25.7883, 17.9419, 79.1793)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161E9 #D9E961
analogous
#6195E9 #7161E9 #B561E9
triadic
#7161E9 #E97161 #61E971
tetradic
#7161E9 #E96195 #D9E961 #61E9B5
square
#7161E9 #E96195 #D9E961 #61E9B5
split-complementary
#7161E9 #E9B561 #95E961
monochromatic
#2C19B6 #412BE2 #7161E9 #A197F0 #D2CCF8

Accessibility & contrast

On white

4.58
#7161E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7161E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7161E9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161E9#FFFFFF#000000##000000
##7161E91.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#0071E6
Tritanopia (blue-blind)
#41819C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7161e9;
/* rgb */ color: rgb(113, 97, 233);
/* oklch */ color: oklch(58.1% 0.198 283.7);
Tailwind
colors: {
  custom: {
    50: '#a38ef1',
    500: '#7161e9',
    950: '#000000',
  },
}
SCSS
$custom: #7161e9;
$custom-light: #a38ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#7161e9",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 233
  },
  "hsl": {
    "h": 247.059,
    "s": 75.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58124,
    "c": 0.19766,
    "h": 283.7
  },
  "luminance": 0.17943
}

Semantic roles & 50–950 ramp

primary
#7161E9
secondary
#E5EABC
accent
#D80EC0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7161E9

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

Preview Lab → · Contrast checker → · Palette generator →

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