#7062FC#7062FC

#7062FC is a mid, highly saturated blue. Relative luminance 0.192; OKLCH L 59.6% C 0.221 H 281.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7062FC
RGBrgb(112, 98, 252)
HSLhsl(245, 96%, 69%)
HSVhsv(245, 61%, 99%)
CMYKcmyk(55.6%, 61.1%, 0%, 1.2%)
CIE-LABlab(50.93, 46.63, -75.23)
CIE-LCHlch(50.93, 88.51, 301.79°)
OKLaboklab(59.64% 0.0439 -0.2161)
OKLCHoklch(59.64% 0.221 281.5)
XYZxyz(28.6150, 19.2065, 94.2760)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7062FC #EEFC62
analogous
#62A1FC #7062FC #BD62FC
triadic
#7062FC #FC7062 #62FC70
tetradic
#7062FC #FC62A1 #EEFC62 #62FCBD
square
#7062FC #FC62A1 #EEFC62 #62FCBD
split-complementary
#7062FC #FCBD62 #A1FC62
monochromatic
#1804DF #3926FB #7062FC #A79EFD #DDDAFE

Accessibility & contrast

On white

4.34
#7062FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7062FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7062FC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7062FC#FFFFFF#000000##000000
##7062FC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0074F9
Tritanopia (blue-blind)
#2788A6
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7062fc;
/* rgb */ color: rgb(112, 98, 252);
/* oklch */ color: oklch(59.6% 0.221 281.5);
Tailwind
colors: {
  custom: {
    50: '#a58ffe',
    500: '#7062fc',
    950: '#000000',
  },
}
SCSS
$custom: #7062fc;
$custom-light: #a58ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#7062fc",
  "rgb": {
    "r": 112,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 245.455,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.59635,
    "c": 0.2205,
    "h": 281.5
  },
  "luminance": 0.19208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7062FC

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

Preview Lab → · Contrast checker → · Palette generator →

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