#7162CA#7162CA

#7162CA is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.2% C 0.155 H 286.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7162CA
RGBrgb(113, 98, 202)
HSLhsl(249, 50%, 59%)
HSVhsv(249, 51%, 79%)
CMYKcmyk(44.1%, 51.5%, 0%, 20.8%)
CIE-LABlab(47.64, 31.93, -52.32)
CIE-LCHlch(47.64, 61.29, 301.40°)
OKLaboklab(56.15% 0.0452 -0.1487)
OKLCHoklch(56.15% 0.155 286.9)
XYZxyz(21.8354, 16.5095, 57.9018)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162CA #BBCA62
analogous
#6287CA #7162CA #A562CA
triadic
#7162CA #CA7162 #62CA71
tetradic
#7162CA #CA6287 #BBCA62 #62CAA5
square
#7162CA #CA6287 #BBCA62 #62CAA5
split-complementary
#7162CA #CAA562 #87CA62
monochromatic
#3A2D85 #4D3CB3 #7162CA #9A90D9 #C4BEE9

Accessibility & contrast

On white

4.88
#7162CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7162CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7162CA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162CA#FFFFFF#000000##FFFFFF
##7162CA1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3374CE
Deuteranopia (green-blind)
#316EC8
Tritanopia (blue-blind)
#56788D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7162ca;
/* rgb */ color: rgb(113, 98, 202);
/* oklch */ color: oklch(56.2% 0.155 286.9);
Tailwind
colors: {
  custom: {
    50: '#9f8fdb',
    500: '#7162ca',
    950: '#000000',
  },
}
SCSS
$custom: #7162ca;
$custom-light: #9f8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7162ca",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 248.654,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56152,
    "c": 0.1554,
    "h": 286.9
  },
  "luminance": 0.1651
}

Semantic roles & 50–950 ramp

primary
#7162CA
secondary
#D2D8AF
accent
#D94FC5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7162CA

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

Preview Lab → · Contrast checker → · Palette generator →

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