#7161F2#7161F2

#7161F2 is a mid, highly saturated blue. Relative luminance 0.185; OKLCH L 58.8% C 0.209 H 282.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7161F2
RGBrgb(113, 97, 242)
HSLhsl(247, 85%, 66%)
HSVhsv(247, 60%, 95%)
CMYKcmyk(53.3%, 59.9%, 0%, 5.1%)
CIE-LABlab(50.06, 44.37, -71.07)
CIE-LCHlch(50.06, 83.78, 301.98°)
OKLaboklab(58.79% 0.0466 -0.2038)
OKLCHoklch(58.79% 0.209 282.9)
XYZxyz(27.1069, 18.4693, 86.1238)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161F2 #E2F261
analogous
#619AF2 #7161F2 #BA61F2
triadic
#7161F2 #F27161 #61F271
tetradic
#7161F2 #F2619A #E2F261 #61F2BA
square
#7161F2 #F2619A #E2F261 #61F2BA
split-complementary
#7161F2 #F2BA61 #9AF261
monochromatic
#2510C8 #3E28ED #7161F2 #A49AF7 #D7D2FB

Accessibility & contrast

On white

4.47
#7161F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7161F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7161F2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161F2#FFFFFF#000000##000000
##7161F21.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0072EF
Tritanopia (blue-blind)
#3884A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7161f2;
/* rgb */ color: rgb(113, 97, 242);
/* oklch */ color: oklch(58.8% 0.209 282.9);
Tailwind
colors: {
  custom: {
    50: '#a48ef7',
    500: '#7161f2',
    950: '#000000',
  },
}
SCSS
$custom: #7161f2;
$custom-light: #a48ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#7161f2",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 242
  },
  "hsl": {
    "h": 246.621,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.58791,
    "c": 0.20908,
    "h": 282.9
  },
  "luminance": 0.18471
}

Semantic roles & 50–950 ramp

primary
#7161F2
secondary
#EAEFC0
accent
#E104C9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7161F2

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

Preview Lab → · Contrast checker → · Palette generator →

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