#7162E8#7162E8

#7162E8 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 58.2% C 0.195 H 283.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7162E8
RGBrgb(113, 98, 232)
HSLhsl(247, 74%, 65%)
HSVhsv(247, 58%, 91%)
CMYKcmyk(51.3%, 57.8%, 0%, 9%)
CIE-LABlab(49.58, 40.80, -66.23)
CIE-LCHlch(49.58, 77.79, 301.64°)
OKLaboklab(58.22% 0.0459 -0.1896)
OKLCHoklch(58.22% 0.195 283.6)
XYZxyz(25.7388, 18.0709, 78.4601)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162E8 #D9E862
analogous
#6296E8 #7162E8 #B462E8
triadic
#7162E8 #E87162 #62E871
tetradic
#7162E8 #E86296 #D9E862 #62E8B4
square
#7162E8 #E86296 #D9E862 #62E8B4
split-complementary
#7162E8 #E8B462 #96E862
monochromatic
#2C1BB5 #412DE0 #7162E8 #A197F0 #D2CDF8

Accessibility & contrast

On white

4.55
#7162E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7162E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7162E8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162E8#FFFFFF#000000##000000
##7162E81.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#0071E5
Tritanopia (blue-blind)
#42819C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7162e8;
/* rgb */ color: rgb(113, 98, 232);
/* oklch */ color: oklch(58.2% 0.195 283.6);
Tailwind
colors: {
  custom: {
    50: '#a28ff0',
    500: '#7162e8',
    950: '#000000',
  },
}
SCSS
$custom: #7162e8;
$custom-light: #a28ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#7162e8",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 246.716,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58218,
    "c": 0.19509,
    "h": 283.6
  },
  "luminance": 0.18072
}

Semantic roles & 50–950 ramp

primary
#7162E8
secondary
#E5EABC
accent
#D70FC0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7162E8

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

Preview Lab → · Contrast checker → · Palette generator →

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