#7161CF#7161CF

#7161CF is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.3% C 0.164 H 286.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7161CF
RGBrgb(113, 97, 207)
HSLhsl(249, 53%, 60%)
HSVhsv(249, 53%, 81%)
CMYKcmyk(45.4%, 53.1%, 0%, 18.8%)
CIE-LABlab(47.71, 33.99, -55.07)
CIE-LCHlch(47.71, 64.72, 301.68°)
OKLaboklab(56.3% 0.0466 -0.1568)
OKLCHoklch(56.3% 0.164 286.6)
XYZxyz(22.3440, 16.5642, 61.0393)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161CF #BFCF61
analogous
#6188CF #7161CF #A861CF
triadic
#7161CF #CF7161 #61CF71
tetradic
#7161CF #CF6188 #BFCF61 #61CFA8
square
#7161CF #CF6188 #BFCF61 #61CFA8
split-complementary
#7161CF #CFA861 #88CF61
monochromatic
#382A8B #4B39BA #7161CF #9B90DD #C5BFEC

Accessibility & contrast

On white

4.87
#7161CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7161CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7161CF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161CF#FFFFFF#000000##FFFFFF
##7161CF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D3
Deuteranopia (green-blind)
#286ECD
Tritanopia (blue-blind)
#53798F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7161cf;
/* rgb */ color: rgb(113, 97, 207);
/* oklch */ color: oklch(56.3% 0.164 286.6);
Tailwind
colors: {
  custom: {
    50: '#9f8ede',
    500: '#7161cf',
    950: '#000000',
  },
}
SCSS
$custom: #7161cf;
$custom-light: #9f8ede;
$custom-dark: #000000;
JSON
{
  "hex": "#7161cf",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 207
  },
  "hsl": {
    "h": 248.727,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56304,
    "c": 0.16358,
    "h": 286.6
  },
  "luminance": 0.16565
}

Semantic roles & 50–950 ramp

primary
#7161CF
secondary
#D5DBB1
accent
#DD4BC8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7161CF

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

Preview Lab → · Contrast checker → · Palette generator →

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