#7162DF#7162DF

#7162DF is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.6% C 0.183 H 284.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7162DF
RGBrgb(113, 98, 223)
HSLhsl(247, 66%, 63%)
HSVhsv(247, 56%, 87%)
CMYKcmyk(49.3%, 56.1%, 0%, 12.5%)
CIE-LABlab(48.97, 38.12, -62.14)
CIE-LCHlch(48.97, 72.90, 301.53°)
OKLaboklab(57.58% 0.0459 -0.1776)
OKLCHoklch(57.58% 0.183 284.5)
XYZxyz(24.4930, 17.5726, 71.8990)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162DF #D0DF62
analogous
#6291DF #7162DF #AF62DF
triadic
#7162DF #DF7162 #62DF71
tetradic
#7162DF #DF6291 #D0DF62 #62DFAF
square
#7162DF #DF6291 #D0DF62 #62DFAF
split-complementary
#7162DF #DFAF62 #91DF62
monochromatic
#3122A5 #432FD5 #7162DF #9F95E9 #CDC8F4

Accessibility & contrast

On white

4.65
#7162DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7162DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7162DF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162DF#FFFFFF#000000##FFFFFF
##7162DF1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0878E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#497E97
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7162df;
/* rgb */ color: rgb(113, 98, 223);
/* oklch */ color: oklch(57.6% 0.183 284.5);
Tailwind
colors: {
  custom: {
    50: '#a18fea',
    500: '#7162df',
    950: '#000000',
  },
}
SCSS
$custom: #7162df;
$custom-light: #a18fea;
$custom-dark: #000000;
JSON
{
  "hex": "#7162df",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 247.2,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57575,
    "c": 0.18341,
    "h": 284.5
  },
  "luminance": 0.17574
}

Semantic roles & 50–950 ramp

primary
#7162DF
secondary
#DFE5B8
accent
#CE17B8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7162DF

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

Preview Lab → · Contrast checker → · Palette generator →

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