#7161CA#7161CA

#7161CA is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.0% C 0.157 H 287.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7161CA
RGBrgb(113, 97, 202)
HSLhsl(249, 50%, 59%)
HSVhsv(249, 52%, 79%)
CMYKcmyk(44.1%, 52%, 0%, 20.8%)
CIE-LABlab(47.40, 32.53, -52.70)
CIE-LCHlch(47.40, 61.93, 301.69°)
OKLaboklab(55.97% 0.0464 -0.1498)
OKLCHoklch(55.97% 0.157 287.2)
XYZxyz(21.7424, 16.3235, 57.8708)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161CA #BACA61
analogous
#6185CA #7161CA #A561CA
triadic
#7161CA #CA7161 #61CA71
tetradic
#7161CA #CA6185 #BACA61 #61CAA5
square
#7161CA #CA6185 #BACA61 #61CAA5
split-complementary
#7161CA #CAA561 #85CA61
monochromatic
#3A2C84 #4E3CB2 #7161CA #9A8FD9 #C3BDE9

Accessibility & contrast

On white

4.92
#7161CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7161CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7161CA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161CA#FFFFFF#000000##FFFFFF
##7161CA1.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3073CE
Deuteranopia (green-blind)
#2F6EC8
Tritanopia (blue-blind)
#56778C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7161ca;
/* rgb */ color: rgb(113, 97, 202);
/* oklch */ color: oklch(56.0% 0.157 287.2);
Tailwind
colors: {
  custom: {
    50: '#9f8edb',
    500: '#7161ca',
    950: '#000000',
  },
}
SCSS
$custom: #7161ca;
$custom-light: #9f8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#7161ca",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 202
  },
  "hsl": {
    "h": 249.143,
    "s": 49.763,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55973,
    "c": 0.15684,
    "h": 287.2
  },
  "luminance": 0.16324
}

Semantic roles & 50–950 ramp

primary
#7161CA
secondary
#D2D8AF
accent
#D94FC4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7161CA

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

Preview Lab → · Contrast checker → · Palette generator →

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