#7162E6#7162E6

#7162E6 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 58.1% C 0.193 H 283.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7162E6
RGBrgb(113, 98, 230)
HSLhsl(247, 73%, 64%)
HSVhsv(247, 57%, 90%)
CMYKcmyk(50.9%, 57.4%, 0%, 9.8%)
CIE-LABlab(49.45, 40.21, -65.33)
CIE-LCHlch(49.45, 76.71, 301.61°)
OKLaboklab(58.07% 0.0459 -0.1869)
OKLCHoklch(58.07% 0.193 283.8)
XYZxyz(25.4564, 17.9579, 76.9724)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162E6 #D7E662
analogous
#6295E6 #7162E6 #B362E6
triadic
#7162E6 #E67162 #62E671
tetradic
#7162E6 #E66295 #D7E662 #62E6B3
square
#7162E6 #E66295 #D7E662 #62E6B3
split-complementary
#7162E6 #E6B362 #95E662
monochromatic
#2D1CB1 #412DDE #7162E6 #A197EE #D0CCF7

Accessibility & contrast

On white

4.57
#7162E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7162E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7162E6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162E6#FFFFFF#000000##000000
##7162E61.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#0071E3
Tritanopia (blue-blind)
#43809B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7162e6;
/* rgb */ color: rgb(113, 98, 230);
/* oklch */ color: oklch(58.1% 0.193 283.8);
Tailwind
colors: {
  custom: {
    50: '#a28fef',
    500: '#7162e6',
    950: '#000000',
  },
}
SCSS
$custom: #7162e6;
$custom-light: #a28fef;
$custom-dark: #000000;
JSON
{
  "hex": "#7162e6",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 230
  },
  "hsl": {
    "h": 246.818,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58073,
    "c": 0.1925,
    "h": 283.8
  },
  "luminance": 0.17959
}

Semantic roles & 50–950 ramp

primary
#7162E6
secondary
#E4E9BB
accent
#D511BE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7162E6

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

Preview Lab → · Contrast checker → · Palette generator →

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