#7161FB#7161FB

#7161FB is a mid, highly saturated blue. Relative luminance 0.190; OKLCH L 59.5% C 0.220 H 282.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7161FB
RGBrgb(113, 97, 251)
HSLhsl(246, 95%, 68%)
HSVhsv(246, 61%, 98%)
CMYKcmyk(55%, 61.4%, 0%, 1.6%)
CIE-LABlab(50.71, 47.07, -75.02)
CIE-LCHlch(50.71, 88.56, 302.10°)
OKLaboklab(59.48% 0.0461 -0.2155)
OKLCHoklch(59.48% 0.22 282.1)
XYZxyz(28.4919, 19.0234, 93.4186)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7161FB #EBFB61
analogous
#619EFB #7161FB #BE61FB
triadic
#7161FB #FB7161 #61FB71
tetradic
#7161FB #FB619E #EBFB61 #61FBBE
square
#7161FB #FB619E #EBFB61 #61FBBE
split-complementary
#7161FB #FBBE61 #9EFB61
monochromatic
#1C06DC #3B25F9 #7161FB #A79DFD #DCD8FE

Accessibility & contrast

On white

4.37
#7161FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7161FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7161FB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7161FB#FFFFFF#000000##000000
##7161FB1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0073F8
Tritanopia (blue-blind)
#2C87A5
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7161fb;
/* rgb */ color: rgb(113, 97, 251);
/* oklch */ color: oklch(59.5% 0.220 282.1);
Tailwind
colors: {
  custom: {
    50: '#a58ffe',
    500: '#7161fb',
    950: '#000000',
  },
}
SCSS
$custom: #7161fb;
$custom-light: #a58ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#7161fb",
  "rgb": {
    "r": 113,
    "g": 97,
    "b": 251
  },
  "hsl": {
    "h": 246.234,
    "s": 95.062,
    "l": 68.235
  },
  "oklch": {
    "l": 0.59475,
    "c": 0.22033,
    "h": 282.1
  },
  "luminance": 0.19025
}

Semantic roles & 50–950 ramp

primary
#7161FB
secondary
#EEF3C5
accent
#E600CE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #7161FB

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

Preview Lab → · Contrast checker → · Palette generator →

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