#7162F6#7162F6

#7162F6 is a mid, highly saturated blue. Relative luminance 0.189; OKLCH L 59.3% C 0.213 H 282.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7162F6
RGBrgb(113, 98, 246)
HSLhsl(246, 89%, 67%)
HSVhsv(246, 60%, 96%)
CMYKcmyk(54.1%, 60.2%, 0%, 3.5%)
CIE-LABlab(50.57, 45.00, -72.47)
CIE-LCHlch(50.57, 85.31, 301.83°)
OKLaboklab(59.25% 0.0454 -0.208)
OKLCHoklch(59.25% 0.213 282.3)
XYZxyz(27.8072, 18.8982, 89.3534)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162F6 #E7F662
analogous
#629DF6 #7162F6 #BB62F6
triadic
#7162F6 #F67162 #62F671
tetradic
#7162F6 #F6629D #E7F662 #62F6BB
square
#7162F6 #F6629D #E7F662 #62F6BB
split-complementary
#7162F6 #F6BB62 #9DF662
monochromatic
#200CD2 #3D28F3 #7162F6 #A59CF9 #DAD6FD

Accessibility & contrast

On white

4.39
#7162F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7162F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7162F6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162F6#FFFFFF#000000##000000
##7162F61.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0073F3
Tritanopia (blue-blind)
#3386A3
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7162f6;
/* rgb */ color: rgb(113, 98, 246);
/* oklch */ color: oklch(59.3% 0.213 282.3);
Tailwind
colors: {
  custom: {
    50: '#a48ffa',
    500: '#7162f6',
    950: '#000000',
  },
}
SCSS
$custom: #7162f6;
$custom-light: #a48ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#7162f6",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 246.081,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.59254,
    "c": 0.21287,
    "h": 282.3
  },
  "luminance": 0.189
}

Semantic roles & 50–950 ramp

primary
#7162F6
secondary
#ECF1C3
accent
#E600CE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7162F6

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

Preview Lab → · Contrast checker → · Palette generator →

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