#7162FD#7162FD

#7162FD is a mid, highly saturated blue. Relative luminance 0.193; OKLCH L 59.8% C 0.222 H 281.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7162FD
RGBrgb(113, 98, 253)
HSLhsl(246, 97%, 69%)
HSVhsv(246, 61%, 99%)
CMYKcmyk(55.3%, 61.3%, 0%, 0.8%)
CIE-LABlab(51.08, 47.10, -75.54)
CIE-LCHlch(51.08, 89.02, 301.94°)
OKLaboklab(59.79% 0.045 -0.217)
OKLCHoklch(59.79% 0.222 281.7)
XYZxyz(28.9019, 19.3361, 95.1187)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162FD #EEFD62
analogous
#62A1FD #7162FD #BE62FD
triadic
#7162FD #FD7162 #62FD71
tetradic
#7162FD #FD62A1 #EEFD62 #62FDBE
square
#7162FD #FD62A1 #EEFD62 #62FDBE
split-complementary
#7162FD #FDBE62 #A1FD62
monochromatic
#1803E2 #3A26FC #7162FD #A89EFE #DEDBFF

Accessibility & contrast

On white

4.31
#7162FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7162FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7162FD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162FD#FFFFFF#000000##000000
##7162FD1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0074FA
Tritanopia (blue-blind)
#2988A6
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7162fd;
/* rgb */ color: rgb(113, 98, 253);
/* oklch */ color: oklch(59.8% 0.222 281.7);
Tailwind
colors: {
  custom: {
    50: '#a58fff',
    500: '#7162fd',
    950: '#000000',
  },
}
SCSS
$custom: #7162fd;
$custom-light: #a58fff;
$custom-dark: #000000;
JSON
{
  "hex": "#7162fd",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 245.806,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.59787,
    "c": 0.2216,
    "h": 281.7
  },
  "luminance": 0.19338
}

Semantic roles & 50–950 ramp

primary
#7162FD
secondary
#F0F4C6
accent
#E600CF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7162FD

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

Preview Lab → · Contrast checker → · Palette generator →

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