#7062F2#7062F2

#7062F2 is a mid, highly saturated blue. Relative luminance 0.186; OKLCH L 58.9% C 0.208 H 282.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7062F2
RGBrgb(112, 98, 242)
HSLhsl(246, 85%, 67%)
HSVhsv(246, 60%, 95%)
CMYKcmyk(53.7%, 59.5%, 0%, 5.1%)
CIE-LABlab(50.20, 43.62, -70.84)
CIE-LCHlch(50.20, 83.19, 301.62°)
OKLaboklab(58.88% 0.0444 -0.2032)
OKLCHoklch(58.88% 0.208 282.3)
XYZxyz(27.0719, 18.5893, 86.1488)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7062F2 #E4F262
analogous
#629CF2 #7062F2 #B862F2
triadic
#7062F2 #F27062 #62F270
tetradic
#7062F2 #F2629C #E4F262 #62F2B8
square
#7062F2 #F2629C #E4F262 #62F2B8
split-complementary
#7062F2 #F2B862 #9CF262
monochromatic
#2311C9 #3D29ED #7062F2 #A39BF7 #D7D3FB

Accessibility & contrast

On white

4.45
#7062F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7062F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7062F2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7062F2#FFFFFF#000000##000000
##7062F21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0072EF
Tritanopia (blue-blind)
#3584A1
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7062f2;
/* rgb */ color: rgb(112, 98, 242);
/* oklch */ color: oklch(58.9% 0.208 282.3);
Tailwind
colors: {
  custom: {
    50: '#a38ff7',
    500: '#7062f2',
    950: '#000000',
  },
}
SCSS
$custom: #7062f2;
$custom-light: #a38ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#7062f2",
  "rgb": {
    "r": 112,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 245.833,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.58876,
    "c": 0.20798,
    "h": 282.3
  },
  "luminance": 0.18591
}

Semantic roles & 50–950 ramp

primary
#7062F2
secondary
#EBEFC1
accent
#E104CC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7062F2

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

Preview Lab → · Contrast checker → · Palette generator →

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