#7161EA#7161EA

#7161EA is a mid, vivid blue. Relative luminance 0.180; OKLCH L 58.2% C 0.199 H 283.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7161EA
RGBrgb(113, 97, 234)
HSLhsl(247, 77%, 65%)
HSVhsv(247, 59%, 92%)
CMYKcmyk(51.7%, 58.5%, 0%, 8.2%)
CIE-LABlab(49.50, 41.98, -67.50)
CIE-LCHlch(49.50, 79.49, 301.88°)
OKLaboklab(58.2% 0.0469 -0.1933)
OKLCHoklch(58.2% 0.199 283.6)
XYZxyz(25.9315, 17.9992, 79.9337)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161EA #DAEA61
analogous
#6196EA #7161EA #B561EA
triadic
#7161EA #EA7161 #61EA71
tetradic
#7161EA #EA6196 #DAEA61 #61EAB5
square
#7161EA #EA6196 #DAEA61 #61EAB5
split-complementary
#7161EA #EAB561 #96EA61
monochromatic
#2B18B8 #402BE3 #7161EA #A297F1 #D2CDF8

Accessibility & contrast

On white

4.57
#7161EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7161EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7161EA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161EA#FFFFFF#000000##000000
##7161EA1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#40819C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7161ea;
/* rgb */ color: rgb(113, 97, 234);
/* oklch */ color: oklch(58.2% 0.199 283.6);
Tailwind
colors: {
  custom: {
    50: '#a38ef2',
    500: '#7161ea',
    950: '#000000',
  },
}
SCSS
$custom: #7161ea;
$custom-light: #a38ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7161ea",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 247.007,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58198,
    "c": 0.19894,
    "h": 283.6
  },
  "luminance": 0.18001
}

Semantic roles & 50–950 ramp

primary
#7161EA
secondary
#E5EBBC
accent
#D90DC1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7161EA

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

Preview Lab → · Contrast checker → · Palette generator →

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