#7062EA#7062EA

#7062EA is a mid, vivid blue. Relative luminance 0.181; OKLCH L 58.3% C 0.198 H 283.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7062EA
RGBrgb(112, 98, 234)
HSLhsl(246, 76%, 65%)
HSVhsv(246, 58%, 92%)
CMYKcmyk(52.1%, 58.1%, 0%, 8.2%)
CIE-LABlab(49.64, 41.21, -67.27)
CIE-LCHlch(49.64, 78.89, 301.49°)
OKLaboklab(58.29% 0.0446 -0.1927)
OKLCHoklch(58.29% 0.198 283)
XYZxyz(25.8965, 18.1192, 79.9587)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7062EA #DCEA62
analogous
#6298EA #7062EA #B462EA
triadic
#7062EA #EA7062 #62EA70
tetradic
#7062EA #EA6298 #DCEA62 #62EAB4
square
#7062EA #EA6298 #DCEA62 #62EAB4
split-complementary
#7062EA #EAB462 #98EA62
monochromatic
#2919B9 #3F2CE3 #7062EA #A198F1 #D2CEF8

Accessibility & contrast

On white

4.54
#7062EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7062EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7062EA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7062EA#FFFFFF#000000##000000
##7062EA1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#3D829D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7062ea;
/* rgb */ color: rgb(112, 98, 234);
/* oklch */ color: oklch(58.3% 0.198 283.0);
Tailwind
colors: {
  custom: {
    50: '#a28ff2',
    500: '#7062ea',
    950: '#000000',
  },
}
SCSS
$custom: #7062ea;
$custom-light: #a28ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7062ea",
  "rgb": {
    "r": 112,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 246.176,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58285,
    "c": 0.19778,
    "h": 283
  },
  "luminance": 0.18121
}

Semantic roles & 50–950 ramp

primary
#7062EA
secondary
#E6EBBD
accent
#D90DC4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7062EA

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

Preview Lab → · Contrast checker → · Palette generator →

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