#7161DD#7161DD

#7161DD is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.3% C 0.182 H 285.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7161DD
RGBrgb(113, 97, 221)
HSLhsl(248, 65%, 62%)
HSVhsv(248, 56%, 87%)
CMYKcmyk(48.9%, 56.1%, 0%, 13.3%)
CIE-LABlab(48.61, 38.12, -61.59)
CIE-LCHlch(48.61, 72.43, 301.75°)
OKLaboklab(57.26% 0.047 -0.176)
OKLCHoklch(57.26% 0.182 285)
XYZxyz(24.1320, 17.2794, 70.4563)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161DD #CDDD61
analogous
#618FDD #7161DD #AF61DD
triadic
#7161DD #DD7161 #61DD71
tetradic
#7161DD #DD618F #CDDD61 #61DDAF
square
#7161DD #DD618F #CDDD61 #61DDAF
split-complementary
#7161DD #DDAF61 #8FDD61
monochromatic
#3323A1 #442FD2 #7161DD #9E93E8 #CCC6F3

Accessibility & contrast

On white

4.71
#7161DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7161DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7161DD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161DD#FFFFFF#000000##FFFFFF
##7161DD1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0977E1
Deuteranopia (green-blind)
#0070DA
Tritanopia (blue-blind)
#4A7D96
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7161dd;
/* rgb */ color: rgb(113, 97, 221);
/* oklch */ color: oklch(57.3% 0.182 285.0);
Tailwind
colors: {
  custom: {
    50: '#a18ee8',
    500: '#7161dd',
    950: '#000000',
  },
}
SCSS
$custom: #7161dd;
$custom-light: #a18ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#7161dd",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 221
  },
  "hsl": {
    "h": 247.742,
    "s": 64.583,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57264,
    "c": 0.18214,
    "h": 285
  },
  "luminance": 0.17281
}

Semantic roles & 50–950 ramp

primary
#7161DD
secondary
#DEE4B6
accent
#CC19B5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7161DD

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

Preview Lab → · Contrast checker → · Palette generator →

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