#7161E6#7161E6

#7161E6 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.9% C 0.194 H 284.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7161E6
RGBrgb(113, 97, 230)
HSLhsl(247, 73%, 64%)
HSVhsv(247, 58%, 90%)
CMYKcmyk(50.9%, 57.8%, 0%, 9.8%)
CIE-LABlab(49.22, 40.79, -65.70)
CIE-LCHlch(49.22, 77.33, 301.84°)
OKLaboklab(57.91% 0.047 -0.188)
OKLCHoklch(57.91% 0.194 284)
XYZxyz(25.3634, 17.7719, 76.9414)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161E6 #D6E661
analogous
#6194E6 #7161E6 #B461E6
triadic
#7161E6 #E67161 #61E671
tetradic
#7161E6 #E66194 #D6E661 #61E6B4
square
#7161E6 #E66194 #D6E661 #61E6B4
split-complementary
#7161E6 #E6B461 #94E661
monochromatic
#2E1CB1 #422CDE #7161E6 #A096EE #D0CBF7

Accessibility & contrast

On white

4.61
#7161E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7161E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7161E6
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161E6#FFFFFF#000000##FFFFFF
##7161E61.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#0071E3
Tritanopia (blue-blind)
#43809A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7161e6;
/* rgb */ color: rgb(113, 97, 230);
/* oklch */ color: oklch(57.9% 0.194 284.0);
Tailwind
colors: {
  custom: {
    50: '#a28eef',
    500: '#7161e6',
    950: '#000000',
  },
}
SCSS
$custom: #7161e6;
$custom-light: #a28eef;
$custom-dark: #000000;
JSON
{
  "hex": "#7161e6",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 230
  },
  "hsl": {
    "h": 247.218,
    "s": 72.678,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57906,
    "c": 0.19381,
    "h": 284
  },
  "luminance": 0.17773
}

Semantic roles & 50–950 ramp

primary
#7161E6
secondary
#E3E9BA
accent
#D511BD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7161E6

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

Preview Lab → · Contrast checker → · Palette generator →

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