#7162BD#7162BD

#7162BD is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.3% C 0.138 H 288.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7162BD
RGBrgb(113, 98, 189)
HSLhsl(250, 41%, 56%)
HSVhsv(250, 48%, 74%)
CMYKcmyk(40.2%, 48.1%, 0%, 25.9%)
CIE-LABlab(46.87, 28.19, -46.04)
CIE-LCHlch(46.87, 53.99, 301.47°)
OKLaboklab(55.33% 0.044 -0.1303)
OKLCHoklch(55.33% 0.138 288.7)
XYZxyz(20.3605, 15.9195, 50.1343)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162BD #AEBD62
analogous
#6281BD #7162BD #9F62BD
triadic
#7162BD #BD7162 #62BD71
tetradic
#7162BD #BD6281 #AEBD62 #62BD9F
square
#7162BD #BD6281 #AEBD62 #62BD9F
split-complementary
#7162BD #BD9F62 #81BD62
monochromatic
#3C3174 #52439F #7162BD #988DCF #BFB8E1

Accessibility & contrast

On white

5.02
#7162BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7162BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7162BD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162BD#FFFFFF#000000##FFFFFF
##7162BD1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F71C0
Deuteranopia (green-blind)
#3F6DBB
Tritanopia (blue-blind)
#5C7486
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7162bd;
/* rgb */ color: rgb(113, 98, 189);
/* oklch */ color: oklch(55.3% 0.138 288.7);
Tailwind
colors: {
  custom: {
    50: '#9e8fd1',
    500: '#7162bd',
    950: '#000000',
  },
}
SCSS
$custom: #7162bd;
$custom-light: #9e8fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7162bd",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 249.89,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5533,
    "c": 0.13751,
    "h": 288.7
  },
  "luminance": 0.1592
}

Semantic roles & 50–950 ramp

primary
#7162BD
secondary
#CAD0AB
accent
#D157BD
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0F0C14
muted
#7E7D82

Preview Lab

Preview with #7162BD

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

Preview Lab → · Contrast checker → · Palette generator →

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