#7161DC#7161DC

#7161DC is a mid, vivid blue. Relative luminance 0.172; OKLCH L 57.2% C 0.181 H 285.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7161DC
RGBrgb(113, 97, 220)
HSLhsl(248, 64%, 62%)
HSVhsv(248, 56%, 86%)
CMYKcmyk(48.6%, 55.9%, 0%, 13.7%)
CIE-LABlab(48.54, 37.82, -61.13)
CIE-LCHlch(48.54, 71.88, 301.74°)
OKLaboklab(57.19% 0.047 -0.1746)
OKLCHoklch(57.19% 0.181 285.1)
XYZxyz(23.9992, 17.2262, 69.7567)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161DC #CCDC61
analogous
#618FDC #7161DC #AF61DC
triadic
#7161DC #DC7161 #61DC71
tetradic
#7161DC #DC618F #CCDC61 #61DCAF
square
#7161DC #DC618F #CCDC61 #61DCAF
split-complementary
#7161DC #DCAF61 #8FDC61
monochromatic
#33239F #442FD1 #7161DC #9E93E7 #CBC5F2

Accessibility & contrast

On white

4.72
#7161DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7161DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7161DC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161DC#FFFFFF#000000##FFFFFF
##7161DC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E77E0
Deuteranopia (green-blind)
#0170D9
Tritanopia (blue-blind)
#4B7D95
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7161dc;
/* rgb */ color: rgb(113, 97, 220);
/* oklch */ color: oklch(57.2% 0.181 285.1);
Tailwind
colors: {
  custom: {
    50: '#a18ee8',
    500: '#7161dc',
    950: '#000000',
  },
}
SCSS
$custom: #7161dc;
$custom-light: #a18ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#7161dc",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 220
  },
  "hsl": {
    "h": 247.805,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57194,
    "c": 0.18082,
    "h": 285.1
  },
  "luminance": 0.17227
}

Semantic roles & 50–950 ramp

primary
#7161DC
secondary
#DDE3B6
accent
#CC1AB4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7161DC

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

Preview Lab → · Contrast checker → · Palette generator →

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