#7161CB#7161CB

#7161CB is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.0% C 0.158 H 287.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7161CB
RGBrgb(113, 97, 203)
HSLhsl(249, 50%, 59%)
HSVhsv(249, 52%, 80%)
CMYKcmyk(44.3%, 52.2%, 0%, 20.4%)
CIE-LABlab(47.46, 32.82, -53.18)
CIE-LCHlch(47.46, 62.49, 301.69°)
OKLaboklab(56.04% 0.0464 -0.1512)
OKLCHoklch(56.04% 0.158 287.1)
XYZxyz(21.8612, 16.3710, 58.4964)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161CB #BBCB61
analogous
#6186CB #7161CB #A661CB
triadic
#7161CB #CB7161 #61CB71
tetradic
#7161CB #CB6186 #BBCB61 #61CBA6
square
#7161CB #CB6186 #BBCB61 #61CBA6
split-complementary
#7161CB #CBA661 #86CB61
monochromatic
#3A2C86 #4D3BB4 #7161CB #9A8FDA #C4BDE9

Accessibility & contrast

On white

4.91
#7161CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7161CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7161CB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161CB#FFFFFF#000000##FFFFFF
##7161CB1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7161cb;
/* rgb */ color: rgb(113, 97, 203);
/* oklch */ color: oklch(56.0% 0.158 287.1);
Tailwind
colors: {
  custom: {
    50: '#9f8edb',
    500: '#7161cb',
    950: '#000000',
  },
}
SCSS
$custom: #7161cb;
$custom-light: #9f8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#7161cb",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 203
  },
  "hsl": {
    "h": 249.057,
    "s": 50.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56039,
    "c": 0.15819,
    "h": 287.1
  },
  "luminance": 0.16372
}

Semantic roles & 50–950 ramp

primary
#7161CB
secondary
#D2D9AF
accent
#DA4EC5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7161CB

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

Preview Lab → · Contrast checker → · Palette generator →

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