#7161CC#7161CC

#7161CC is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.1% C 0.160 H 286.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7161CC
RGBrgb(113, 97, 204)
HSLhsl(249, 51%, 59%)
HSVhsv(249, 52%, 80%)
CMYKcmyk(44.6%, 52.5%, 0%, 20%)
CIE-LABlab(47.52, 33.12, -53.65)
CIE-LCHlch(47.52, 63.05, 301.68°)
OKLaboklab(56.11% 0.0465 -0.1526)
OKLCHoklch(56.11% 0.16 286.9)
XYZxyz(21.9807, 16.4189, 59.1260)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161CC #BCCC61
analogous
#6187CC #7161CC #A761CC
triadic
#7161CC #CC7161 #61CC71
tetradic
#7161CC #CC6187 #BCCC61 #61CCA7
square
#7161CC #CC6187 #BCCC61 #61CCA7
split-complementary
#7161CC #CCA761 #87CC61
monochromatic
#392C87 #4D3BB5 #7161CC #9B8FDB #C4BEEA

Accessibility & contrast

On white

4.90
#7161CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7161CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7161CC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161CC#FFFFFF#000000##FFFFFF
##7161CC1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E73D0
Deuteranopia (green-blind)
#2D6ECA
Tritanopia (blue-blind)
#55788D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7161cc;
/* rgb */ color: rgb(113, 97, 204);
/* oklch */ color: oklch(56.1% 0.160 286.9);
Tailwind
colors: {
  custom: {
    50: '#9f8edc',
    500: '#7161cc',
    950: '#000000',
  },
}
SCSS
$custom: #7161cc;
$custom-light: #9f8edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7161cc",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 204
  },
  "hsl": {
    "h": 248.972,
    "s": 51.196,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56105,
    "c": 0.15954,
    "h": 286.9
  },
  "luminance": 0.1642
}

Semantic roles & 50–950 ramp

primary
#7161CC
secondary
#D3D9AF
accent
#DB4DC6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7161CC

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

Preview Lab → · Contrast checker → · Palette generator →

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