#7162E5#7162E5

#7162E5 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 58.0% C 0.191 H 283.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#7162E5
RGBrgb(113, 98, 229)
HSLhsl(247, 72%, 64%)
HSVhsv(247, 57%, 90%)
CMYKcmyk(50.7%, 57.2%, 0%, 10.2%)
CIE-LABlab(49.38, 39.91, -64.88)
CIE-LCHlch(49.38, 76.17, 301.60°)
OKLaboklab(58% 0.0459 -0.1856)
OKLCHoklch(58% 0.191 283.9)
XYZxyz(25.3163, 17.9019, 76.2350)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162E5 #D6E562
analogous
#6295E5 #7162E5 #B362E5
triadic
#7162E5 #E57162 #62E571
tetradic
#7162E5 #E56295 #D6E562 #62E5B3
square
#7162E5 #E56295 #D6E562 #62E5B3
split-complementary
#7162E5 #E5B362 #95E562
monochromatic
#2E1DB0 #422DDC #7162E5 #A097EE #D0CBF6

Accessibility & contrast

On white

4.58
#7162E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7162E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7162E5
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162E5#FFFFFF#000000##000000
##7162E51.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#44809A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7162e5;
/* rgb */ color: rgb(113, 98, 229);
/* oklch */ color: oklch(58.0% 0.191 283.9);
Tailwind
colors: {
  custom: {
    50: '#a28fee',
    500: '#7162e5',
    950: '#000000',
  },
}
SCSS
$custom: #7162e5;
$custom-light: #a28fee;
$custom-dark: #000000;
JSON
{
  "hex": "#7162e5",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 229
  },
  "hsl": {
    "h": 246.87,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58001,
    "c": 0.19122,
    "h": 283.9
  },
  "luminance": 0.17903
}

Semantic roles & 50–950 ramp

primary
#7162E5
secondary
#E3E8BB
accent
#D412BD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7162E5

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

Preview Lab → · Contrast checker → · Palette generator →

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