#7162DB#7162DB

#7162DB is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.3% C 0.178 H 284.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7162DB
RGBrgb(113, 98, 219)
HSLhsl(247, 63%, 62%)
HSVhsv(247, 55%, 86%)
CMYKcmyk(48.4%, 55.3%, 0%, 14.1%)
CIE-LABlab(48.71, 36.93, -60.30)
CIE-LCHlch(48.71, 70.71, 301.49°)
OKLaboklab(57.29% 0.0459 -0.1721)
OKLCHoklch(57.29% 0.178 284.9)
XYZxyz(23.9601, 17.3594, 69.0923)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162DB #CCDB62
analogous
#6290DB #7162DB #AE62DB
triadic
#7162DB #DB7162 #62DB71
tetradic
#7162DB #DB6290 #CCDB62 #62DBAE
square
#7162DB #DB6290 #CCDB62 #62DBAE
split-complementary
#7162DB #DBAE62 #90DB62
monochromatic
#33249E #4430D0 #7162DB #9E94E6 #CBC6F2

Accessibility & contrast

On white

4.70
#7162DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7162DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7162DB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162DB#FFFFFF#000000##FFFFFF
##7162DB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1777DF
Deuteranopia (green-blind)
#0E70D8
Tritanopia (blue-blind)
#4B7D95
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7162db;
/* rgb */ color: rgb(113, 98, 219);
/* oklch */ color: oklch(57.3% 0.178 284.9);
Tailwind
colors: {
  custom: {
    50: '#a18fe7',
    500: '#7162db',
    950: '#000000',
  },
}
SCSS
$custom: #7162db;
$custom-light: #a18fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#7162db",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 247.438,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57295,
    "c": 0.17816,
    "h": 284.9
  },
  "luminance": 0.17361
}

Semantic roles & 50–950 ramp

primary
#7162DB
secondary
#DDE3B6
accent
#CA1BB5
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #7162DB

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

Preview Lab → · Contrast checker → · Palette generator →

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