#7161EF#7161EF

#7161EF is a mid, highly saturated blue. Relative luminance 0.183; OKLCH L 58.6% C 0.205 H 283.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7161EF
RGBrgb(113, 97, 239)
HSLhsl(247, 82%, 66%)
HSVhsv(247, 59%, 94%)
CMYKcmyk(52.7%, 59.4%, 0%, 6.3%)
CIE-LABlab(49.85, 43.48, -69.73)
CIE-LCHlch(49.85, 82.18, 301.94°)
OKLaboklab(58.57% 0.0467 -0.1999)
OKLCHoklch(58.57% 0.205 283.1)
XYZxyz(26.6600, 18.2906, 83.7703)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161EF #DFEF61
analogous
#6198EF #7161EF #B861EF
triadic
#7161EF #EF7161 #61EF71
tetradic
#7161EF #EF6198 #DFEF61 #61EFB8
square
#7161EF #EF6198 #DFEF61 #61EFB8
split-complementary
#7161EF #EFB861 #98EF61
monochromatic
#2714C2 #3F29E9 #7161EF #A399F5 #D5D0FA

Accessibility & contrast

On white

4.51
#7161EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7161EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7161EF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161EF#FFFFFF#000000##000000
##7161EF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#3B839F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7161ef;
/* rgb */ color: rgb(113, 97, 239);
/* oklch */ color: oklch(58.6% 0.205 283.1);
Tailwind
colors: {
  custom: {
    50: '#a38ef5',
    500: '#7161ef',
    950: '#000000',
  },
}
SCSS
$custom: #7161ef;
$custom-light: #a38ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7161ef",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 239
  },
  "hsl": {
    "h": 246.761,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58567,
    "c": 0.2053,
    "h": 283.1
  },
  "luminance": 0.18292
}

Semantic roles & 50–950 ramp

primary
#7161EF
secondary
#E8EDBE
accent
#DE08C6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7161EF

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

Preview Lab → · Contrast checker → · Palette generator →

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