#7162FF#7162FF

#7162FF is a mid, highly saturated blue. Relative luminance 0.195; OKLCH L 59.9% C 0.224 H 281.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7162FF
RGBrgb(113, 98, 255)
HSLhsl(246, 100%, 69%)
HSVhsv(246, 62%, 100%)
CMYKcmyk(55.7%, 61.6%, 0%, 0%)
CIE-LABlab(51.23, 47.70, -76.41)
CIE-LCHlch(51.23, 90.07, 301.97°)
OKLaboklab(59.94% 0.0449 -0.2195)
OKLCHoklch(59.94% 0.224 281.6)
XYZxyz(29.2221, 19.4642, 96.8055)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162FF #F0FF62
analogous
#62A2FF #7162FF #BF62FF
triadic
#7162FF #FF7162 #62FF71
tetradic
#7162FF #FF62A2 #F0FF62 #62FFBF
square
#7162FF #FF62A2 #F0FF62 #62FFBF
split-complementary
#7162FF #FFBF62 #A2FF62
monochromatic
#1600E7 #3A25FF #7162FF #A89FFF #E0DCFF

Accessibility & contrast

On white

4.29
#7162FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#7162FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7162FF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162FF#FFFFFF#000000##000000
##7162FF1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0074FC
Tritanopia (blue-blind)
#2689A8
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7162ff;
/* rgb */ color: rgb(113, 98, 255);
/* oklch */ color: oklch(59.9% 0.224 281.6);
Tailwind
colors: {
  custom: {
    50: '#a68fff',
    500: '#7162ff',
    950: '#000000',
  },
}
SCSS
$custom: #7162ff;
$custom-light: #a68fff;
$custom-dark: #000000;
JSON
{
  "hex": "#7162ff",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 245.732,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.59942,
    "c": 0.22407,
    "h": 281.6
  },
  "luminance": 0.19466
}

Semantic roles & 50–950 ramp

primary
#7162FF
secondary
#F1F5C8
accent
#E600D0
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7162FF

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

Preview Lab → · Contrast checker → · Palette generator →

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