#7062D8#7062D8

#7062D8 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 57.0% C 0.174 H 284.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7062D8
RGBrgb(112, 98, 216)
HSLhsl(247, 60%, 62%)
HSVhsv(247, 55%, 85%)
CMYKcmyk(48.1%, 54.6%, 0%, 15.3%)
CIE-LABlab(48.43, 35.83, -59.04)
CIE-LCHlch(48.43, 69.07, 301.25°)
OKLaboklab(57.01% 0.0446 -0.1685)
OKLCHoklch(57.01% 0.174 284.8)
XYZxyz(23.4408, 17.1369, 67.0250)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7062D8 #CAD862
analogous
#628FD8 #7062D8 #AB62D8
triadic
#7062D8 #D87062 #62D870
tetradic
#7062D8 #D8628F #CAD862 #62D8AB
square
#7062D8 #D8628F #CAD862 #62D8AB
split-complementary
#7062D8 #D8AB62 #8FD862
monochromatic
#342699 #4432CA #7062D8 #9D93E4 #C9C4F0

Accessibility & contrast

On white

4.74
#7062D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7062D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7062D8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7062D8#FFFFFF#000000##FFFFFF
##7062D81.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D76DC
Deuteranopia (green-blind)
#166FD5
Tritanopia (blue-blind)
#4B7C93
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7062d8;
/* rgb */ color: rgb(112, 98, 216);
/* oklch */ color: oklch(57.0% 0.174 284.8);
Tailwind
colors: {
  custom: {
    50: '#a08fe5',
    500: '#7062d8',
    950: '#000000',
  },
}
SCSS
$custom: #7062d8;
$custom-light: #a08fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#7062d8",
  "rgb": {
    "r": 112,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 247.119,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57007,
    "c": 0.1743,
    "h": 284.8
  },
  "luminance": 0.17138
}

Semantic roles & 50–950 ramp

primary
#7062D8
secondary
#DCE1B5
accent
#C81EB4
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #7062D8

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

Preview Lab → · Contrast checker → · Palette generator →

#7062D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva