#7162EF#7162EF

#7162EF is a mid, highly saturated blue. Relative luminance 0.185; OKLCH L 58.7% C 0.204 H 282.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7162EF
RGBrgb(113, 98, 239)
HSLhsl(246, 82%, 66%)
HSVhsv(246, 59%, 94%)
CMYKcmyk(52.7%, 59%, 0%, 6.3%)
CIE-LABlab(50.07, 42.90, -69.37)
CIE-LCHlch(50.07, 81.56, 301.73°)
OKLaboklab(58.73% 0.0457 -0.1988)
OKLCHoklch(58.73% 0.204 282.9)
XYZxyz(26.7530, 18.4765, 83.8012)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162EF #E0EF62
analogous
#6299EF #7162EF #B762EF
triadic
#7162EF #EF7162 #62EF71
tetradic
#7162EF #EF6299 #E0EF62 #62EFB7
square
#7162EF #EF6299 #E0EF62 #62EFB7
split-complementary
#7162EF #EFB762 #99EF62
monochromatic
#2614C3 #3F2AE9 #7162EF #A39AF5 #D5D1FA

Accessibility & contrast

On white

4.47
#7162EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7162EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7162EF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162EF#FFFFFF#000000##000000
##7162EF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#3B839F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7162ef;
/* rgb */ color: rgb(113, 98, 239);
/* oklch */ color: oklch(58.7% 0.204 282.9);
Tailwind
colors: {
  custom: {
    50: '#a38ff5',
    500: '#7162ef',
    950: '#000000',
  },
}
SCSS
$custom: #7162ef;
$custom-light: #a38ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#7162ef",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 246.383,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.5873,
    "c": 0.20404,
    "h": 282.9
  },
  "luminance": 0.18478
}

Semantic roles & 50–950 ramp

primary
#7162EF
secondary
#E9EEBF
accent
#DE08C7
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7162EF

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

Preview Lab → · Contrast checker → · Palette generator →

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