#7162EC#7162EC

#7162EC is a mid, highly saturated blue. Relative luminance 0.183; OKLCH L 58.5% C 0.200 H 283.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7162EC
RGBrgb(113, 98, 236)
HSLhsl(247, 78%, 65%)
HSVhsv(247, 58%, 93%)
CMYKcmyk(52.1%, 58.5%, 0%, 7.5%)
CIE-LABlab(49.86, 42.00, -68.03)
CIE-LCHlch(49.86, 79.95, 301.69°)
OKLaboklab(58.51% 0.0458 -0.1949)
OKLCHoklch(58.51% 0.2 283.2)
XYZxyz(26.3135, 18.3007, 81.4865)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162EC #DDEC62
analogous
#6298EC #7162EC #B662EC
triadic
#7162EC #EC7162 #62EC71
tetradic
#7162EC #EC6298 #DDEC62 #62ECB6
square
#7162EC #EC6298 #DDEC62 #62ECB6
split-complementary
#7162EC #ECB662 #98EC62
monochromatic
#2917BD #402BE5 #7162EC #A299F3 #D4CFF9

Accessibility & contrast

On white

4.51
#7162EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7162EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7162EC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162EC#FFFFFF#000000##000000
##7162EC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#3E829E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7162ec;
/* rgb */ color: rgb(113, 98, 236);
/* oklch */ color: oklch(58.5% 0.200 283.2);
Tailwind
colors: {
  custom: {
    50: '#a38ff3',
    500: '#7162ec',
    950: '#000000',
  },
}
SCSS
$custom: #7162ec;
$custom-light: #a38ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#7162ec",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 246.522,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58509,
    "c": 0.20022,
    "h": 283.2
  },
  "luminance": 0.18302
}

Semantic roles & 50–950 ramp

primary
#7162EC
secondary
#E7ECBE
accent
#DB0BC4
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7162EC

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

Preview Lab → · Contrast checker → · Palette generator →

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