#7162CB#7162CB

#7162CB is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.2% C 0.157 H 286.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7162CB
RGBrgb(113, 98, 203)
HSLhsl(249, 50%, 59%)
HSVhsv(249, 52%, 80%)
CMYKcmyk(44.3%, 51.7%, 0%, 20.4%)
CIE-LABlab(47.70, 32.23, -52.79)
CIE-LCHlch(47.70, 61.85, 301.40°)
OKLaboklab(56.22% 0.0452 -0.1501)
OKLCHoklch(56.22% 0.157 286.8)
XYZxyz(21.9541, 16.5570, 58.5274)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162CB #BCCB62
analogous
#6288CB #7162CB #A662CB
triadic
#7162CB #CB7162 #62CB71
tetradic
#7162CB #CB6288 #BCCB62 #62CBA6
square
#7162CB #CB6288 #BCCB62 #62CBA6
split-complementary
#7162CB #CBA662 #88CB62
monochromatic
#392C86 #4D3CB4 #7162CB #9B90DA #C4BEE9

Accessibility & contrast

On white

4.87
#7162CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7162CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7162CB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162CB#FFFFFF#000000##FFFFFF
##7162CB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3274CF
Deuteranopia (green-blind)
#306EC9
Tritanopia (blue-blind)
#55788D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7162cb;
/* rgb */ color: rgb(113, 98, 203);
/* oklch */ color: oklch(56.2% 0.157 286.8);
Tailwind
colors: {
  custom: {
    50: '#9f8fdb',
    500: '#7162cb',
    950: '#000000',
  },
}
SCSS
$custom: #7162cb;
$custom-light: #9f8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7162cb",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 248.571,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56217,
    "c": 0.15676,
    "h": 286.8
  },
  "luminance": 0.16558
}

Semantic roles & 50–950 ramp

primary
#7162CB
secondary
#D3D9B0
accent
#DA4EC6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7162CB

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

Preview Lab → · Contrast checker → · Palette generator →

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