#7162F1#7162F1

#7162F1 is a mid, highly saturated blue. Relative luminance 0.186; OKLCH L 58.9% C 0.207 H 282.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7162F1
RGBrgb(113, 98, 241)
HSLhsl(246, 84%, 66%)
HSVhsv(246, 59%, 95%)
CMYKcmyk(53.1%, 59.3%, 0%, 5.5%)
CIE-LABlab(50.21, 43.50, -70.26)
CIE-LCHlch(50.21, 82.64, 301.76°)
OKLaboklab(58.88% 0.0456 -0.2015)
OKLCHoklch(58.88% 0.207 282.8)
XYZxyz(27.0501, 18.5954, 85.3659)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162F1 #E2F162
analogous
#629BF1 #7162F1 #B962F1
triadic
#7162F1 #F17162 #62F171
tetradic
#7162F1 #F1629B #E2F162 #62F1B9
square
#7162F1 #F1629B #E2F162 #62F1B9
split-complementary
#7162F1 #F1B962 #9BF162
monochromatic
#2512C7 #3E2AEC #7162F1 #A49AF6 #D7D2FB

Accessibility & contrast

On white

4.45
#7162F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7162F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7162F1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162F1#FFFFFF#000000##000000
##7162F11.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF6
Deuteranopia (green-blind)
#0073EE
Tritanopia (blue-blind)
#3984A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7162f1;
/* rgb */ color: rgb(113, 98, 241);
/* oklch */ color: oklch(58.9% 0.207 282.8);
Tailwind
colors: {
  custom: {
    50: '#a48ff7',
    500: '#7162f1',
    950: '#000000',
  },
}
SCSS
$custom: #7162f1;
$custom-light: #a48ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#7162f1",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 241
  },
  "hsl": {
    "h": 246.294,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.58879,
    "c": 0.20657,
    "h": 282.8
  },
  "luminance": 0.18597
}

Semantic roles & 50–950 ramp

primary
#7162F1
secondary
#EAEFC0
accent
#E005C9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7162F1

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

Preview Lab → · Contrast checker → · Palette generator →

#7162F1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva