#7062DF#7062DF

#7062DF is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.5% C 0.184 H 284.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7062DF
RGBrgb(112, 98, 223)
HSLhsl(247, 66%, 63%)
HSVhsv(247, 56%, 87%)
CMYKcmyk(49.8%, 56.1%, 0%, 12.5%)
CIE-LABlab(48.89, 37.92, -62.27)
CIE-LCHlch(48.89, 72.91, 301.34°)
OKLaboklab(57.5% 0.0447 -0.178)
OKLCHoklch(57.5% 0.184 284.1)
XYZxyz(24.3651, 17.5066, 71.8930)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7062DF #D1DF62
analogous
#6292DF #7062DF #AE62DF
triadic
#7062DF #DF7062 #62DF70
tetradic
#7062DF #DF6292 #D1DF62 #62DFAE
square
#7062DF #DF6292 #D1DF62 #62DFAE
split-complementary
#7062DF #DFAE62 #92DF62
monochromatic
#3022A5 #422FD5 #7062DF #9E95E9 #CDC8F4

Accessibility & contrast

On white

4.67
#7062DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7062DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7062DF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7062DF#FFFFFF#000000##FFFFFF
##7062DF1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0778E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#477E97
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7062df;
/* rgb */ color: rgb(112, 98, 223);
/* oklch */ color: oklch(57.5% 0.184 284.1);
Tailwind
colors: {
  custom: {
    50: '#a18fea',
    500: '#7062df',
    950: '#000000',
  },
}
SCSS
$custom: #7062df;
$custom-light: #a18fea;
$custom-dark: #000000;
JSON
{
  "hex": "#7062df",
  "rgb": {
    "r": 112,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 246.72,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57495,
    "c": 0.18353,
    "h": 284.1
  },
  "luminance": 0.17508
}

Semantic roles & 50–950 ramp

primary
#7062DF
secondary
#E0E5B8
accent
#CE17BA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7062DF

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

Preview Lab → · Contrast checker → · Palette generator →

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