#7162EB#7162EB

#7162EB is a mid, vivid blue. Relative luminance 0.182; OKLCH L 58.4% C 0.199 H 283.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7162EB
RGBrgb(113, 98, 235)
HSLhsl(247, 77%, 65%)
HSVhsv(247, 58%, 92%)
CMYKcmyk(51.9%, 58.3%, 0%, 7.8%)
CIE-LABlab(49.79, 41.70, -67.58)
CIE-LCHlch(49.79, 79.41, 301.68°)
OKLaboklab(58.44% 0.0458 -0.1936)
OKLCHoklch(58.44% 0.199 283.3)
XYZxyz(26.1686, 18.2428, 80.7235)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162EB #DCEB62
analogous
#6298EB #7162EB #B562EB
triadic
#7162EB #EB7162 #62EB71
tetradic
#7162EB #EB6298 #DCEB62 #62EBB5
square
#7162EB #EB6298 #DCEB62 #62EBB5
split-complementary
#7162EB #EBB562 #98EB62
monochromatic
#2A18BB #402CE4 #7162EB #A298F2 #D3CFF9

Accessibility & contrast

On white

4.52
#7162EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7162EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7162EB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162EB#FFFFFF#000000##000000
##7162EB1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#3F829D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7162eb;
/* rgb */ color: rgb(113, 98, 235);
/* oklch */ color: oklch(58.4% 0.199 283.3);
Tailwind
colors: {
  custom: {
    50: '#a38ff2',
    500: '#7162eb',
    950: '#000000',
  },
}
SCSS
$custom: #7162eb;
$custom-light: #a38ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7162eb",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 246.569,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58436,
    "c": 0.19894,
    "h": 283.3
  },
  "luminance": 0.18244
}

Semantic roles & 50–950 ramp

primary
#7162EB
secondary
#E6EBBD
accent
#DA0CC3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7162EB

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

Preview Lab → · Contrast checker → · Palette generator →

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