#7162FC#7162FC

#7162FC is a mid, highly saturated blue. Relative luminance 0.193; OKLCH L 59.7% C 0.220 H 281.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7162FC
RGBrgb(113, 98, 252)
HSLhsl(246, 96%, 69%)
HSVhsv(246, 61%, 99%)
CMYKcmyk(55.2%, 61.1%, 0%, 1.2%)
CIE-LABlab(51.00, 46.80, -75.10)
CIE-LCHlch(51.00, 88.49, 301.93°)
OKLaboklab(59.71% 0.0451 -0.2157)
OKLCHoklch(59.71% 0.22 281.8)
XYZxyz(28.7430, 19.2725, 94.2820)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162FC #EDFC62
analogous
#62A0FC #7162FC #BE62FC
triadic
#7162FC #FC7162 #62FC71
tetradic
#7162FC #FC62A0 #EDFC62 #62FCBE
square
#7162FC #FC62A0 #EDFC62 #62FCBE
split-complementary
#7162FC #FCBE62 #A0FC62
monochromatic
#1A04DF #3B26FB #7162FC #A79EFD #DEDAFE

Accessibility & contrast

On white

4.33
#7162FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7162FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7162FC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162FC#FFFFFF#000000##000000
##7162FC1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0074F9
Tritanopia (blue-blind)
#2B88A6
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7162fc;
/* rgb */ color: rgb(113, 98, 252);
/* oklch */ color: oklch(59.7% 0.220 281.8);
Tailwind
colors: {
  custom: {
    50: '#a58ffe',
    500: '#7162fc',
    950: '#000000',
  },
}
SCSS
$custom: #7162fc;
$custom-light: #a58ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#7162fc",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 245.844,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.5971,
    "c": 0.22036,
    "h": 281.8
  },
  "luminance": 0.19274
}

Semantic roles & 50–950 ramp

primary
#7162FC
secondary
#EFF4C6
accent
#E600CF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #7162FC

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

Preview Lab → · Contrast checker → · Palette generator →

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