#7162CD#7162CD

#7162CD is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.3% C 0.159 H 286.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7162CD
RGBrgb(113, 98, 205)
HSLhsl(248, 52%, 59%)
HSVhsv(248, 52%, 80%)
CMYKcmyk(44.9%, 52.2%, 0%, 19.6%)
CIE-LABlab(47.82, 32.81, -53.74)
CIE-LCHlch(47.82, 62.97, 301.40°)
OKLaboklab(56.35% 0.0454 -0.1529)
OKLCHoklch(56.35% 0.159 286.5)
XYZxyz(22.1940, 16.6529, 59.7907)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162CD #BECD62
analogous
#6289CD #7162CD #A762CD
triadic
#7162CD #CD7162 #62CD71
tetradic
#7162CD #CD6289 #BECD62 #62CDA7
square
#7162CD #CD6289 #BECD62 #62CDA7
split-complementary
#7162CD #CDA762 #89CD62
monochromatic
#392C89 #4C3AB7 #7162CD #9B90DC #C5BFEB

Accessibility & contrast

On white

4.85
#7162CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7162CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7162CD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162CD#FFFFFF#000000##FFFFFF
##7162CD1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D1
Deuteranopia (green-blind)
#2D6ECB
Tritanopia (blue-blind)
#54798E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7162cd;
/* rgb */ color: rgb(113, 98, 205);
/* oklch */ color: oklch(56.3% 0.159 286.5);
Tailwind
colors: {
  custom: {
    50: '#9f8fdd',
    500: '#7162cd',
    950: '#000000',
  },
}
SCSS
$custom: #7162cd;
$custom-light: #9f8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7162cd",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 248.411,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56349,
    "c": 0.15947,
    "h": 286.5
  },
  "luminance": 0.16654
}

Semantic roles & 50–950 ramp

primary
#7162CD
secondary
#D4DAB1
accent
#DB4DC7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7162CD

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

Preview Lab → · Contrast checker → · Palette generator →

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