#7162DA#7162DA

#7162DA is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.2% C 0.177 H 285.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7162DA
RGBrgb(113, 98, 218)
HSLhsl(248, 62%, 62%)
HSVhsv(248, 55%, 85%)
CMYKcmyk(48.2%, 55%, 0%, 14.5%)
CIE-LABlab(48.64, 36.64, -59.83)
CIE-LCHlch(48.64, 70.16, 301.48°)
OKLaboklab(57.23% 0.0459 -0.1708)
OKLCHoklch(57.23% 0.177 285)
XYZxyz(23.8289, 17.3069, 68.4011)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162DA #CBDA62
analogous
#628FDA #7162DA #AD62DA
triadic
#7162DA #DA7162 #62DA71
tetradic
#7162DA #DA628F #CBDA62 #62DAAD
square
#7162DA #DA628F #CBDA62 #62DAAD
split-complementary
#7162DA #DAAD62 #8FDA62
monochromatic
#34259D #4431CE #7162DA #9E94E6 #CBC5F1

Accessibility & contrast

On white

4.71
#7162DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7162DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7162DA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162DA#FFFFFF#000000##FFFFFF
##7162DA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A77DE
Deuteranopia (green-blind)
#1270D7
Tritanopia (blue-blind)
#4C7D94
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7162da;
/* rgb */ color: rgb(113, 98, 218);
/* oklch */ color: oklch(57.2% 0.177 285.0);
Tailwind
colors: {
  custom: {
    50: '#a18fe6',
    500: '#7162da',
    950: '#000000',
  },
}
SCSS
$custom: #7162da;
$custom-light: #a18fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#7162da",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 247.5,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57226,
    "c": 0.17684,
    "h": 285
  },
  "luminance": 0.17308
}

Semantic roles & 50–950 ramp

primary
#7162DA
secondary
#DCE2B6
accent
#CA1CB4
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #7162DA

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

Preview Lab → · Contrast checker → · Palette generator →

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