#7161F8#7161F8

#7161F8 is a mid, highly saturated blue. Relative luminance 0.188; OKLCH L 59.2% C 0.217 H 282.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7161F8
RGBrgb(113, 97, 248)
HSLhsl(246, 92%, 68%)
HSVhsv(246, 61%, 97%)
CMYKcmyk(54.4%, 60.9%, 0%, 2.7%)
CIE-LABlab(50.49, 46.17, -73.71)
CIE-LCHlch(50.49, 86.97, 302.06°)
OKLaboklab(59.25% 0.0462 -0.2116)
OKLCHoklch(59.25% 0.217 282.3)
XYZxyz(28.0228, 18.8357, 90.9478)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161F8 #E8F861
analogous
#619CF8 #7161F8 #BD61F8
triadic
#7161F8 #F87161 #61F871
tetradic
#7161F8 #F8619C #E8F861 #61F8BD
square
#7161F8 #F8619C #E8F861 #61F8BD
split-complementary
#7161F8 #F8BD61 #9CF861
monochromatic
#1F09D5 #3C26F5 #7161F8 #A69CFB #DAD6FD

Accessibility & contrast

On white

4.40
#7161F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7161F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7161F8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161F8#FFFFFF#000000##000000
##7161F81.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFD
Deuteranopia (green-blind)
#0073F5
Tritanopia (blue-blind)
#3186A3
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7161f8;
/* rgb */ color: rgb(113, 97, 248);
/* oklch */ color: oklch(59.2% 0.217 282.3);
Tailwind
colors: {
  custom: {
    50: '#a58ffc',
    500: '#7161f8',
    950: '#000000',
  },
}
SCSS
$custom: #7161f8;
$custom-light: #a58ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#7161f8",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 248
  },
  "hsl": {
    "h": 246.358,
    "s": 91.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.59245,
    "c": 0.21659,
    "h": 282.3
  },
  "luminance": 0.18837
}

Semantic roles & 50–950 ramp

primary
#7161F8
secondary
#EDF2C3
accent
#E600CD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #7161F8

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

Preview Lab → · Contrast checker → · Palette generator →

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