#7162F7#7162F7

#7162F7 is a mid, highly saturated blue. Relative luminance 0.190; OKLCH L 59.3% C 0.214 H 282.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7162F7
RGBrgb(113, 98, 247)
HSLhsl(246, 90%, 68%)
HSVhsv(246, 60%, 97%)
CMYKcmyk(54.3%, 60.3%, 0%, 3.1%)
CIE-LABlab(50.64, 45.30, -72.91)
CIE-LCHlch(50.64, 85.84, 301.85°)
OKLaboklab(59.33% 0.0454 -0.2093)
OKLCHoklch(59.33% 0.214 282.2)
XYZxyz(27.9611, 18.9598, 90.1639)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162F7 #E8F762
analogous
#629EF7 #7162F7 #BB62F7
triadic
#7162F7 #F77162 #62F771
tetradic
#7162F7 #F7629E #E8F762 #62F7BB
square
#7162F7 #F7629E #E8F762 #62F7BB
split-complementary
#7162F7 #F7BB62 #9EF762
monochromatic
#1F0BD4 #3C28F4 #7162F7 #A69CFA #DAD6FD

Accessibility & contrast

On white

4.38
#7162F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7162F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7162F7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162F7#FFFFFF#000000##000000
##7162F71.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFC
Deuteranopia (green-blind)
#0073F4
Tritanopia (blue-blind)
#3286A3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7162f7;
/* rgb */ color: rgb(113, 98, 247);
/* oklch */ color: oklch(59.3% 0.214 282.2);
Tailwind
colors: {
  custom: {
    50: '#a48ffb',
    500: '#7162f7',
    950: '#000000',
  },
}
SCSS
$custom: #7162f7;
$custom-light: #a48ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#7162f7",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 246.04,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.59329,
    "c": 0.21413,
    "h": 282.2
  },
  "luminance": 0.18961
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7162F7

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

Preview Lab → · Contrast checker → · Palette generator →

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