#7162E2#7162E2

#7162E2 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.8% C 0.187 H 284.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7162E2
RGBrgb(113, 98, 226)
HSLhsl(247, 69%, 64%)
HSVhsv(247, 57%, 89%)
CMYKcmyk(50%, 56.6%, 0%, 11.4%)
CIE-LABlab(49.17, 39.01, -63.51)
CIE-LCHlch(49.17, 74.54, 301.56°)
OKLaboklab(57.79% 0.0459 -0.1816)
OKLCHoklch(57.79% 0.187 284.2)
XYZxyz(24.9011, 17.7358, 74.0480)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162E2 #D3E262
analogous
#6293E2 #7162E2 #B162E2
triadic
#7162E2 #E27162 #62E271
tetradic
#7162E2 #E26293 #D3E262 #62E2B1
square
#7162E2 #E26293 #D3E262 #62E2B1
split-complementary
#7162E2 #E2B162 #93E262
monochromatic
#301FAA #422ED8 #7162E2 #A096EC #CEC9F5

Accessibility & contrast

On white

4.62
#7162E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7162E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7162E2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162E2#FFFFFF#000000##FFFFFF
##7162E21.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#467F99
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7162e2;
/* rgb */ color: rgb(113, 98, 226);
/* oklch */ color: oklch(57.8% 0.187 284.2);
Tailwind
colors: {
  custom: {
    50: '#a28fec',
    500: '#7162e2',
    950: '#000000',
  },
}
SCSS
$custom: #7162e2;
$custom-light: #a28fec;
$custom-dark: #000000;
JSON
{
  "hex": "#7162e2",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 226
  },
  "hsl": {
    "h": 247.031,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57787,
    "c": 0.18733,
    "h": 284.2
  },
  "luminance": 0.17737
}

Semantic roles & 50–950 ramp

primary
#7162E2
secondary
#E1E7B9
accent
#D115BB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7162E2

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

Preview Lab → · Contrast checker → · Palette generator →

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