#7062F4#7062F4

#7062F4 is a mid, highly saturated blue. Relative luminance 0.187; OKLCH L 59.0% C 0.210 H 282.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7062F4
RGBrgb(112, 98, 244)
HSLhsl(246, 87%, 67%)
HSVhsv(246, 60%, 96%)
CMYKcmyk(54.1%, 59.8%, 0%, 4.3%)
CIE-LABlab(50.35, 44.22, -71.72)
CIE-LCHlch(50.35, 84.26, 301.66°)
OKLaboklab(59.03% 0.0443 -0.2058)
OKLCHoklch(59.03% 0.211 282.1)
XYZxyz(27.3739, 18.7101, 87.7394)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7062F4 #E6F462
analogous
#629DF4 #7062F4 #B962F4
triadic
#7062F4 #F47062 #62F470
tetradic
#7062F4 #F4629D #E6F462 #62F4B9
square
#7062F4 #F4629D #E6F462 #62F4B9
split-complementary
#7062F4 #F4B962 #9DF462
monochromatic
#210ECD #3C29F0 #7062F4 #A49BF8 #D8D4FC

Accessibility & contrast

On white

4.43
#7062F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7062F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7062F4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7062F4#FFFFFF#000000##000000
##7062F41.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF9
Deuteranopia (green-blind)
#0073F1
Tritanopia (blue-blind)
#3285A2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7062f4;
/* rgb */ color: rgb(112, 98, 244);
/* oklch */ color: oklch(59.0% 0.210 282.1);
Tailwind
colors: {
  custom: {
    50: '#a38ff9',
    500: '#7062f4',
    950: '#000000',
  },
}
SCSS
$custom: #7062f4;
$custom-light: #a38ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#7062f4",
  "rgb": {
    "r": 112,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 245.753,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59027,
    "c": 0.2105,
    "h": 282.1
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

primary
#7062F4
secondary
#ECF0C2
accent
#E302CE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7062F4

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

Preview Lab → · Contrast checker → · Palette generator →

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