#7162FB#7162FB

#7162FB is a mid, highly saturated blue. Relative luminance 0.192; OKLCH L 59.6% C 0.219 H 281.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7162FB
RGBrgb(113, 98, 251)
HSLhsl(246, 95%, 68%)
HSVhsv(246, 61%, 98%)
CMYKcmyk(55%, 61%, 0%, 1.6%)
CIE-LABlab(50.93, 46.50, -74.67)
CIE-LCHlch(50.93, 87.96, 301.91°)
OKLaboklab(59.63% 0.0451 -0.2144)
OKLCHoklch(59.63% 0.219 281.9)
XYZxyz(28.5849, 19.2093, 93.4496)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162FB #ECFB62
analogous
#629FFB #7162FB #BD62FB
triadic
#7162FB #FB7162 #62FB71
tetradic
#7162FB #FB629F #ECFB62 #62FBBD
square
#7162FB #FB629F #ECFB62 #62FBBD
split-complementary
#7162FB #FBBD62 #9FFB62
monochromatic
#1B06DD #3B26F9 #7162FB #A79EFD #DDD9FE

Accessibility & contrast

On white

4.34
#7162FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7162FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7162FB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162FB#FFFFFF#000000##000000
##7162FB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7162fb;
/* rgb */ color: rgb(113, 98, 251);
/* oklch */ color: oklch(59.6% 0.219 281.9);
Tailwind
colors: {
  custom: {
    50: '#a58ffe',
    500: '#7162fb',
    950: '#000000',
  },
}
SCSS
$custom: #7162fb;
$custom-light: #a58ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#7162fb",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 245.882,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.59634,
    "c": 0.21912,
    "h": 281.9
  },
  "luminance": 0.19211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7162FB

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

Preview Lab → · Contrast checker → · Palette generator →

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