#7161CE#7161CE

#7161CE is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.2% C 0.162 H 286.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7161CE
RGBrgb(113, 97, 206)
HSLhsl(249, 53%, 59%)
HSVhsv(249, 53%, 81%)
CMYKcmyk(45.1%, 52.9%, 0%, 19.2%)
CIE-LABlab(47.64, 33.70, -54.60)
CIE-LCHlch(47.64, 64.16, 301.68°)
OKLaboklab(56.24% 0.0466 -0.1554)
OKLCHoklch(56.24% 0.162 286.7)
XYZxyz(22.2221, 16.5154, 60.3975)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161CE #BECE61
analogous
#6188CE #7161CE #A761CE
triadic
#7161CE #CE7161 #61CE71
tetradic
#7161CE #CE6188 #BECE61 #61CEA7
square
#7161CE #CE6188 #BECE61 #61CEA7
split-complementary
#7161CE #CEA761 #88CE61
monochromatic
#392B8A #4C39B9 #7161CE #9B90DC #C5BEEB

Accessibility & contrast

On white

4.88
#7161CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7161CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7161CE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161CE#FFFFFF#000000##FFFFFF
##7161CE1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D2
Deuteranopia (green-blind)
#2A6ECC
Tritanopia (blue-blind)
#54788E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7161ce;
/* rgb */ color: rgb(113, 97, 206);
/* oklch */ color: oklch(56.2% 0.162 286.7);
Tailwind
colors: {
  custom: {
    50: '#9f8ede',
    500: '#7161ce',
    950: '#000000',
  },
}
SCSS
$custom: #7161ce;
$custom-light: #9f8ede;
$custom-dark: #000000;
JSON
{
  "hex": "#7161ce",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 206
  },
  "hsl": {
    "h": 248.807,
    "s": 52.657,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56237,
    "c": 0.16224,
    "h": 286.7
  },
  "luminance": 0.16516
}

Semantic roles & 50–950 ramp

primary
#7161CE
secondary
#D4DBB0
accent
#DC4CC7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7161CE

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

Preview Lab → · Contrast checker → · Palette generator →

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