#7161E8#7161E8

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

Color values

HEX#7161E8
RGBrgb(113, 97, 232)
HSLhsl(247, 75%, 65%)
HSVhsv(247, 58%, 91%)
CMYKcmyk(51.3%, 58.2%, 0%, 9%)
CIE-LABlab(49.36, 41.39, -66.60)
CIE-LCHlch(49.36, 78.41, 301.86°)
OKLaboklab(58.05% 0.0469 -0.1907)
OKLCHoklch(58.05% 0.196 283.8)
XYZxyz(25.6458, 17.8849, 78.4291)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161E8 #D8E861
analogous
#6195E8 #7161E8 #B561E8
triadic
#7161E8 #E87161 #61E871
tetradic
#7161E8 #E86195 #D8E861 #61E8B5
square
#7161E8 #E86195 #D8E861 #61E8B5
split-complementary
#7161E8 #E8B561 #95E861
monochromatic
#2D1AB4 #412CE0 #7161E8 #A196F0 #D1CCF8

Accessibility & contrast

On white

4.59
#7161E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7161E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7161E8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161E8#FFFFFF#000000##FFFFFF
##7161E81.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#0071E5
Tritanopia (blue-blind)
#42809B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7161e8;
/* rgb */ color: rgb(113, 97, 232);
/* oklch */ color: oklch(58.1% 0.196 283.8);
Tailwind
colors: {
  custom: {
    50: '#a28ef0',
    500: '#7161e8',
    950: '#000000',
  },
}
SCSS
$custom: #7161e8;
$custom-light: #a28ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#7161e8",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 232
  },
  "hsl": {
    "h": 247.111,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58051,
    "c": 0.19638,
    "h": 283.8
  },
  "luminance": 0.17886
}

Semantic roles & 50–950 ramp

primary
#7161E8
secondary
#E4EABB
accent
#D70FBF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7161E8

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

Preview Lab → · Contrast checker → · Palette generator →

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