#7062F6#7062F6

#7062F6 is a mid, highly saturated blue. Relative luminance 0.188; OKLCH L 59.2% C 0.213 H 282.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7062F6
RGBrgb(112, 98, 246)
HSLhsl(246, 89%, 67%)
HSVhsv(246, 60%, 96%)
CMYKcmyk(54.5%, 60.2%, 0%, 3.5%)
CIE-LABlab(50.49, 44.82, -72.60)
CIE-LCHlch(50.49, 85.32, 301.69°)
OKLaboklab(59.18% 0.0442 -0.2084)
OKLCHoklch(59.18% 0.213 282)
XYZxyz(27.6792, 18.8322, 89.3474)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7062F6 #E8F662
analogous
#629EF6 #7062F6 #BA62F6
triadic
#7062F6 #F67062 #62F670
tetradic
#7062F6 #F6629E #E8F662 #62F6BA
square
#7062F6 #F6629E #E8F662 #62F6BA
split-complementary
#7062F6 #F6BA62 #9EF662
monochromatic
#1F0CD2 #3B28F3 #7062F6 #A59CF9 #D9D6FD

Accessibility & contrast

On white

4.41
#7062F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7062F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7062F6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7062F6#FFFFFF#000000##000000
##7062F61.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0073F3
Tritanopia (blue-blind)
#3086A3
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7062f6;
/* rgb */ color: rgb(112, 98, 246);
/* oklch */ color: oklch(59.2% 0.213 282.0);
Tailwind
colors: {
  custom: {
    50: '#a48ffa',
    500: '#7062f6',
    950: '#000000',
  },
}
SCSS
$custom: #7062f6;
$custom-light: #a48ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#7062f6",
  "rgb": {
    "r": 112,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 245.676,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.59177,
    "c": 0.21301,
    "h": 282
  },
  "luminance": 0.18834
}

Semantic roles & 50–950 ramp

primary
#7062F6
secondary
#EDF1C3
accent
#E600D0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7062F6

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

Preview Lab → · Contrast checker → · Palette generator →

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