#7161CD#7161CD

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

Color values

HEX#7161CD
RGBrgb(113, 97, 205)
HSLhsl(249, 52%, 59%)
HSVhsv(249, 53%, 80%)
CMYKcmyk(44.9%, 52.7%, 0%, 19.6%)
CIE-LABlab(47.58, 33.41, -54.13)
CIE-LCHlch(47.58, 63.61, 301.68°)
OKLaboklab(56.17% 0.0465 -0.154)
OKLCHoklch(56.17% 0.161 286.8)
XYZxyz(22.1010, 16.4670, 59.7597)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161CD #BDCD61
analogous
#6187CD #7161CD #A761CD
triadic
#7161CD #CD7161 #61CD71
tetradic
#7161CD #CD6187 #BDCD61 #61CDA7
square
#7161CD #CD6187 #BDCD61 #61CDA7
split-complementary
#7161CD #CDA761 #87CD61
monochromatic
#392B88 #4C3AB7 #7161CD #9B8FDC #C5BEEA

Accessibility & contrast

On white

4.89
#7161CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7161CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7161CD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161CD#FFFFFF#000000##FFFFFF
##7161CD1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7161cd;
/* rgb */ color: rgb(113, 97, 205);
/* oklch */ color: oklch(56.2% 0.161 286.8);
Tailwind
colors: {
  custom: {
    50: '#9f8edd',
    500: '#7161cd',
    950: '#000000',
  },
}
SCSS
$custom: #7161cd;
$custom-light: #9f8edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7161cd",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 248.889,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56171,
    "c": 0.1609,
    "h": 286.8
  },
  "luminance": 0.16468
}

Semantic roles & 50–950 ramp

primary
#7161CD
secondary
#D4DAB0
accent
#DB4CC6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7161CD

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

Preview Lab → · Contrast checker → · Palette generator →

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