#7062DE#7062DE

#7062DE is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.4% C 0.182 H 284.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7062DE
RGBrgb(112, 98, 222)
HSLhsl(247, 65%, 63%)
HSVhsv(247, 56%, 87%)
CMYKcmyk(49.5%, 55.9%, 0%, 12.9%)
CIE-LABlab(48.83, 37.62, -61.81)
CIE-LCHlch(48.83, 72.36, 301.32°)
OKLaboklab(57.42% 0.0447 -0.1766)
OKLCHoklch(57.42% 0.182 284.2)
XYZxyz(24.2306, 17.4528, 71.1850)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7062DE #D0DE62
analogous
#6292DE #7062DE #AE62DE
triadic
#7062DE #DE7062 #62DE70
tetradic
#7062DE #DE6292 #D0DE62 #62DEAE
square
#7062DE #DE6292 #D0DE62 #62DEAE
split-complementary
#7062DE #DEAE62 #92DE62
monochromatic
#3122A3 #422FD3 #7062DE #9E95E9 #CCC7F3

Accessibility & contrast

On white

4.68
#7062DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7062DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7062DE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7062DE#FFFFFF#000000##FFFFFF
##7062DE1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C78E2
Deuteranopia (green-blind)
#0070DB
Tritanopia (blue-blind)
#477E96
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7062de;
/* rgb */ color: rgb(112, 98, 222);
/* oklch */ color: oklch(57.4% 0.182 284.2);
Tailwind
colors: {
  custom: {
    50: '#a18fe9',
    500: '#7062de',
    950: '#000000',
  },
}
SCSS
$custom: #7062de;
$custom-light: #a18fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#7062de",
  "rgb": {
    "r": 112,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 246.774,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57424,
    "c": 0.18222,
    "h": 284.2
  },
  "luminance": 0.17454
}

Semantic roles & 50–950 ramp

primary
#7062DE
secondary
#DFE4B7
accent
#CD18B9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7062DE

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

Preview Lab → · Contrast checker → · Palette generator →

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