#7162CF#7162CF

#7162CF is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.5% C 0.162 H 286.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7162CF
RGBrgb(113, 98, 207)
HSLhsl(248, 53%, 60%)
HSVhsv(248, 53%, 81%)
CMYKcmyk(45.4%, 52.7%, 0%, 18.8%)
CIE-LABlab(47.94, 33.40, -54.69)
CIE-LCHlch(47.94, 64.08, 301.41°)
OKLaboklab(56.48% 0.0455 -0.1557)
OKLCHoklch(56.48% 0.162 286.3)
XYZxyz(22.4370, 16.7501, 61.0703)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162CF #C0CF62
analogous
#6289CF #7162CF #A862CF
triadic
#7162CF #CF7162 #62CF71
tetradic
#7162CF #CF6289 #C0CF62 #62CFA8
square
#7162CF #CF6289 #C0CF62 #62CFA8
split-complementary
#7162CF #CFA862 #89CF62
monochromatic
#382B8C #4B39BB #7162CF #9B91DD #C6C0EC

Accessibility & contrast

On white

4.83
#7162CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7162CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7162CF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162CF#FFFFFF#000000##FFFFFF
##7162CF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D75D3
Deuteranopia (green-blind)
#2A6FCD
Tritanopia (blue-blind)
#53798F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7162cf;
/* rgb */ color: rgb(113, 98, 207);
/* oklch */ color: oklch(56.5% 0.162 286.3);
Tailwind
colors: {
  custom: {
    50: '#9f8fde',
    500: '#7162cf',
    950: '#000000',
  },
}
SCSS
$custom: #7162cf;
$custom-light: #9f8fde;
$custom-dark: #000000;
JSON
{
  "hex": "#7162cf",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 248.257,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56481,
    "c": 0.16217,
    "h": 286.3
  },
  "luminance": 0.16751
}

Semantic roles & 50–950 ramp

primary
#7162CF
secondary
#D6DBB1
accent
#DD4BC9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7162CF

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

Preview Lab → · Contrast checker → · Palette generator →

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