#7162BF#7162BF

#7162BF is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.5% C 0.140 H 288.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7162BF
RGBrgb(113, 98, 191)
HSLhsl(250, 42%, 57%)
HSVhsv(250, 49%, 75%)
CMYKcmyk(40.8%, 48.7%, 0%, 25.1%)
CIE-LABlab(46.98, 28.76, -47.02)
CIE-LCHlch(46.98, 55.12, 301.45°)
OKLaboklab(55.45% 0.0442 -0.1331)
OKLCHoklch(55.45% 0.14 288.4)
XYZxyz(20.5791, 16.0070, 51.2855)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162BF #B0BF62
analogous
#6282BF #7162BF #9F62BF
triadic
#7162BF #BF7162 #62BF71
tetradic
#7162BF #BF6282 #B0BF62 #62BF9F
square
#7162BF #BF6282 #B0BF62 #62BF9F
split-complementary
#7162BF #BF9F62 #82BF62
monochromatic
#3C3076 #5142A2 #7162BF #988DD1 #C0B9E2

Accessibility & contrast

On white

5.00
#7162BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7162BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7162BF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162BF#FFFFFF#000000##FFFFFF
##7162BF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D71C2
Deuteranopia (green-blind)
#3D6DBD
Tritanopia (blue-blind)
#5B7587
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7162bf;
/* rgb */ color: rgb(113, 98, 191);
/* oklch */ color: oklch(55.5% 0.140 288.4);
Tailwind
colors: {
  custom: {
    50: '#9e8fd3',
    500: '#7162bf',
    950: '#000000',
  },
}
SCSS
$custom: #7162bf;
$custom-light: #9e8fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7162bf",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 249.677,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55453,
    "c": 0.14029,
    "h": 288.4
  },
  "luminance": 0.16008
}

Semantic roles & 50–950 ramp

primary
#7162BF
secondary
#CBD1AB
accent
#D256BE
background
#FAF8FD
surface
#F3F0FA
border
#CDCBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #7162BF

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

Preview Lab → · Contrast checker → · Palette generator →

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