#7062FE#7062FE

#7062FE is a mid, highly saturated blue. Relative luminance 0.193; OKLCH L 59.8% C 0.223 H 281.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7062FE
RGBrgb(112, 98, 254)
HSLhsl(245, 99%, 69%)
HSVhsv(245, 61%, 100%)
CMYKcmyk(55.9%, 61.4%, 0%, 0.4%)
CIE-LABlab(51.08, 47.23, -76.10)
CIE-LCHlch(51.08, 89.57, 301.83°)
OKLaboklab(59.79% 0.0437 -0.2187)
OKLCHoklch(59.79% 0.223 281.3)
XYZxyz(28.9336, 19.3340, 95.9539)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7062FE #F0FE62
analogous
#62A2FE #7062FE #BE62FE
triadic
#7062FE #FE7062 #62FE70
tetradic
#7062FE #FE62A2 #F0FE62 #62FEBE
square
#7062FE #FE62A2 #F0FE62 #62FEBE
split-complementary
#7062FE #FEBE62 #A2FE62
monochromatic
#1601E4 #3925FE #7062FE #A79FFE #DFDCFF

Accessibility & contrast

On white

4.31
#7062FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7062FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7062FE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7062FE#FFFFFF#000000##000000
##7062FE1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0074FB
Tritanopia (blue-blind)
#2388A7
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7062fe;
/* rgb */ color: rgb(112, 98, 254);
/* oklch */ color: oklch(59.8% 0.223 281.3);
Tailwind
colors: {
  custom: {
    50: '#a58fff',
    500: '#7062fe',
    950: '#000000',
  },
}
SCSS
$custom: #7062fe;
$custom-light: #a58fff;
$custom-dark: #000000;
JSON
{
  "hex": "#7062fe",
  "rgb": {
    "r": 112,
    "g": 98,
    "b": 254
  },
  "hsl": {
    "h": 245.385,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.5979,
    "c": 0.22299,
    "h": 281.3
  },
  "luminance": 0.19336
}

Semantic roles & 50–950 ramp

primary
#7062FE
secondary
#F1F5C7
accent
#E600D1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #7062FE

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

Preview Lab → · Contrast checker → · Palette generator →

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