#7062F8#7062F8

#7062F8 is a mid, highly saturated blue. Relative luminance 0.190; OKLCH L 59.3% C 0.216 H 281.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7062F8
RGBrgb(112, 98, 248)
HSLhsl(246, 91%, 68%)
HSVhsv(246, 60%, 97%)
CMYKcmyk(54.8%, 60.5%, 0%, 2.7%)
CIE-LABlab(50.64, 45.42, -73.48)
CIE-LCHlch(50.64, 86.39, 301.72°)
OKLaboklab(59.33% 0.0441 -0.211)
OKLCHoklch(59.33% 0.216 281.8)
XYZxyz(27.9878, 18.9557, 90.9728)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7062F8 #EAF862
analogous
#629FF8 #7062F8 #BB62F8
triadic
#7062F8 #F87062 #62F870
tetradic
#7062F8 #F8629F #EAF862 #62F8BB
square
#7062F8 #F8629F #EAF862 #62F8BB
split-complementary
#7062F8 #F8BB62 #9FF862
monochromatic
#1D0AD6 #3B27F5 #7062F8 #A59DFB #DBD7FD

Accessibility & contrast

On white

4.38
#7062F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7062F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7062F8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7062F8#FFFFFF#000000##000000
##7062F81.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFD
Deuteranopia (green-blind)
#0073F5
Tritanopia (blue-blind)
#2D86A4
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7062f8;
/* rgb */ color: rgb(112, 98, 248);
/* oklch */ color: oklch(59.3% 0.216 281.8);
Tailwind
colors: {
  custom: {
    50: '#a48ffc',
    500: '#7062f8',
    950: '#000000',
  },
}
SCSS
$custom: #7062f8;
$custom-light: #a48ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#7062f8",
  "rgb": {
    "r": 112,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 245.6,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.59329,
    "c": 0.21552,
    "h": 281.8
  },
  "luminance": 0.18957
}

Semantic roles & 50–950 ramp

primary
#7062F8
secondary
#EEF2C4
accent
#E600D0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #7062F8

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

Preview Lab → · Contrast checker → · Palette generator →

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