#7161DF#7161DF

#7161DF is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.4% C 0.185 H 284.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7161DF
RGBrgb(113, 97, 223)
HSLhsl(248, 66%, 63%)
HSVhsv(248, 57%, 87%)
CMYKcmyk(49.3%, 56.5%, 0%, 12.5%)
CIE-LABlab(48.74, 38.71, -62.51)
CIE-LCHlch(48.74, 73.52, 301.77°)
OKLaboklab(57.4% 0.047 -0.1787)
OKLCHoklch(57.4% 0.185 284.7)
XYZxyz(24.4001, 17.3866, 71.8680)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161DF #CFDF61
analogous
#6190DF #7161DF #B061DF
triadic
#7161DF #DF7161 #61DF71
tetradic
#7161DF #DF6190 #CFDF61 #61DFB0
square
#7161DF #DF6190 #CFDF61 #61DFB0
split-complementary
#7161DF #DFB061 #90DF61
monochromatic
#3221A4 #432ED5 #7161DF #9F94E9 #CCC7F4

Accessibility & contrast

On white

4.69
#7161DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7161DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7161DF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161DF#FFFFFF#000000##FFFFFF
##7161DF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#497E97
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7161df;
/* rgb */ color: rgb(113, 97, 223);
/* oklch */ color: oklch(57.4% 0.185 284.7);
Tailwind
colors: {
  custom: {
    50: '#a18eea',
    500: '#7161df',
    950: '#000000',
  },
}
SCSS
$custom: #7161df;
$custom-light: #a18eea;
$custom-dark: #000000;
JSON
{
  "hex": "#7161df",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 247.619,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57405,
    "c": 0.18475,
    "h": 284.7
  },
  "luminance": 0.17388
}

Semantic roles & 50–950 ramp

primary
#7161DF
secondary
#DFE5B7
accent
#CE17B7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7161DF

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

Preview Lab → · Contrast checker → · Palette generator →

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