#7162F5#7162F5

#7162F5 is a mid, highly saturated blue. Relative luminance 0.188; OKLCH L 59.2% C 0.212 H 282.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7162F5
RGBrgb(113, 98, 245)
HSLhsl(246, 88%, 67%)
HSVhsv(246, 60%, 96%)
CMYKcmyk(53.9%, 60%, 0%, 3.9%)
CIE-LABlab(50.50, 44.70, -72.03)
CIE-LCHlch(50.50, 84.77, 301.82°)
OKLaboklab(59.18% 0.0455 -0.2067)
OKLCHoklch(59.18% 0.212 282.4)
XYZxyz(27.6541, 18.8370, 88.5472)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162F5 #E6F562
analogous
#629DF5 #7162F5 #BA62F5
triadic
#7162F5 #F57162 #62F571
tetradic
#7162F5 #F5629D #E6F562 #62F5BA
square
#7162F5 #F5629D #E6F562 #62F5BA
split-complementary
#7162F5 #F5BA62 #9DF562
monochromatic
#210DCF #3D28F1 #7162F5 #A59CF9 #D9D5FC

Accessibility & contrast

On white

4.40
#7162F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7162F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7162F5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162F5#FFFFFF#000000##000000
##7162F51.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFA
Deuteranopia (green-blind)
#0073F2
Tritanopia (blue-blind)
#3485A2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7162f5;
/* rgb */ color: rgb(113, 98, 245);
/* oklch */ color: oklch(59.2% 0.212 282.4);
Tailwind
colors: {
  custom: {
    50: '#a48ff9',
    500: '#7162f5',
    950: '#000000',
  },
}
SCSS
$custom: #7162f5;
$custom-light: #a48ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#7162f5",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 246.122,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59178,
    "c": 0.21162,
    "h": 282.4
  },
  "luminance": 0.18839
}

Semantic roles & 50–950 ramp

primary
#7162F5
secondary
#ECF1C2
accent
#E501CD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7162F5

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

Preview Lab → · Contrast checker → · Palette generator →

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