#7161DB#7161DB

#7161DB is a mid, vivid blue. Relative luminance 0.172; OKLCH L 57.1% C 0.180 H 285.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7161DB
RGBrgb(113, 97, 219)
HSLhsl(248, 63%, 62%)
HSVhsv(248, 56%, 86%)
CMYKcmyk(48.4%, 55.7%, 0%, 14.1%)
CIE-LABlab(48.48, 37.52, -60.67)
CIE-LCHlch(48.48, 71.34, 301.74°)
OKLaboklab(57.12% 0.047 -0.1733)
OKLCHoklch(57.12% 0.18 285.2)
XYZxyz(23.8671, 17.1734, 69.0613)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161DB #CBDB61
analogous
#618EDB #7161DB #AE61DB
triadic
#7161DB #DB7161 #61DB71
tetradic
#7161DB #DB618E #CBDB61 #61DBAE
square
#7161DB #DB618E #CBDB61 #61DBAE
split-complementary
#7161DB #DBAE61 #8EDB61
monochromatic
#34249E #442FD0 #7161DB #9E93E6 #CBC5F2

Accessibility & contrast

On white

4.74
#7161DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7161DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7161DB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161DB#FFFFFF#000000##FFFFFF
##7161DB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1277DF
Deuteranopia (green-blind)
#076FD8
Tritanopia (blue-blind)
#4C7C95
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7161db;
/* rgb */ color: rgb(113, 97, 219);
/* oklch */ color: oklch(57.1% 0.180 285.2);
Tailwind
colors: {
  custom: {
    50: '#a18ee7',
    500: '#7161db',
    950: '#000000',
  },
}
SCSS
$custom: #7161db;
$custom-light: #a18ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#7161db",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 219
  },
  "hsl": {
    "h": 247.869,
    "s": 62.887,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57124,
    "c": 0.17952,
    "h": 285.2
  },
  "luminance": 0.17175
}

Semantic roles & 50–950 ramp

primary
#7161DB
secondary
#DCE2B5
accent
#CB1BB4
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7161DB

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

Preview Lab → · Contrast checker → · Palette generator →

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