#7162E4#7162E4

#7162E4 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.9% C 0.190 H 284.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7162E4
RGBrgb(113, 98, 228)
HSLhsl(247, 71%, 64%)
HSVhsv(247, 57%, 89%)
CMYKcmyk(50.4%, 57%, 0%, 10.6%)
CIE-LABlab(49.31, 39.61, -64.42)
CIE-LCHlch(49.31, 75.62, 301.59°)
OKLaboklab(57.93% 0.0459 -0.1843)
OKLCHoklch(57.93% 0.19 284)
XYZxyz(25.1771, 17.8462, 75.5018)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162E4 #D5E462
analogous
#6294E4 #7162E4 #B262E4
triadic
#7162E4 #E47162 #62E471
tetradic
#7162E4 #E46294 #D5E462 #62E4B2
square
#7162E4 #E46294 #D5E462 #62E4B2
split-complementary
#7162E4 #E4B262 #94E462
monochromatic
#2E1EAE #422EDB #7162E4 #A096ED #CFCAF6

Accessibility & contrast

On white

4.60
#7162E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7162E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7162E4
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162E4#FFFFFF#000000##FFFFFF
##7162E41.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#0071E1
Tritanopia (blue-blind)
#45809A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7162e4;
/* rgb */ color: rgb(113, 98, 228);
/* oklch */ color: oklch(57.9% 0.190 284.0);
Tailwind
colors: {
  custom: {
    50: '#a28fed',
    500: '#7162e4',
    950: '#000000',
  },
}
SCSS
$custom: #7162e4;
$custom-light: #a28fed;
$custom-dark: #000000;
JSON
{
  "hex": "#7162e4",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 246.923,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.5793,
    "c": 0.18992,
    "h": 284
  },
  "luminance": 0.17848
}

Semantic roles & 50–950 ramp

primary
#7162E4
secondary
#E2E8BA
accent
#D313BD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7162E4

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

Preview Lab → · Contrast checker → · Palette generator →

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