#7162F4#7162F4

#7162F4 is a mid, highly saturated blue. Relative luminance 0.188; OKLCH L 59.1% C 0.210 H 282.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7162F4
RGBrgb(113, 98, 244)
HSLhsl(246, 87%, 67%)
HSVhsv(246, 60%, 96%)
CMYKcmyk(53.7%, 59.8%, 0%, 4.3%)
CIE-LABlab(50.42, 44.40, -71.59)
CIE-LCHlch(50.42, 84.24, 301.80°)
OKLaboklab(59.1% 0.0455 -0.2054)
OKLCHoklch(59.1% 0.21 282.5)
XYZxyz(27.5019, 18.7761, 87.7454)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162F4 #E5F462
analogous
#629CF4 #7162F4 #BA62F4
triadic
#7162F4 #F47162 #62F471
tetradic
#7162F4 #F4629C #E5F462 #62F4BA
square
#7162F4 #F4629C #E5F462 #62F4BA
split-complementary
#7162F4 #F4BA62 #9CF462
monochromatic
#220ECD #3D29F0 #7162F4 #A59BF8 #D8D4FC

Accessibility & contrast

On white

4.42
#7162F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7162F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7162F4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162F4#FFFFFF#000000##000000
##7162F41.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF9
Deuteranopia (green-blind)
#0073F1
Tritanopia (blue-blind)
#3585A2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7162f4;
/* rgb */ color: rgb(113, 98, 244);
/* oklch */ color: oklch(59.1% 0.210 282.5);
Tailwind
colors: {
  custom: {
    50: '#a48ff9',
    500: '#7162f4',
    950: '#000000',
  },
}
SCSS
$custom: #7162f4;
$custom-light: #a48ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#7162f4",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 246.164,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59103,
    "c": 0.21036,
    "h": 282.5
  },
  "luminance": 0.18778
}

Semantic roles & 50–950 ramp

primary
#7162F4
secondary
#EBF0C2
accent
#E302CC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7162F4

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

Preview Lab → · Contrast checker → · Palette generator →

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