#7062AC#7062AC

#7062AC is a mid, moderate violet. Relative luminance 0.152; OKLCH L 54.2% C 0.113 H 290.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7062AC
RGBrgb(112, 98, 172)
HSLhsl(251, 31%, 53%)
HSVhsv(251, 43%, 67%)
CMYKcmyk(34.9%, 43%, 0%, 32.5%)
CIE-LABlab(45.85, 23.14, -37.75)
CIE-LCHlch(45.85, 44.28, 301.51°)
OKLaboklab(54.24% 0.0403 -0.1061)
OKLCHoklch(54.24% 0.113 290.8)
XYZxyz(18.4942, 15.1582, 40.9732)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7062AC #9EAC62
analogous
#6279AC #7062AC #9562AC
triadic
#7062AC #AC7062 #62AC70
tetradic
#7062AC #AC6279 #9EAC62 #62AC95
square
#7062AC #AC6279 #9EAC62 #62AC95
split-complementary
#7062AC #AC9562 #79AC62
monochromatic
#3C3361 #544889 #7062AC #948AC1 #B9B2D6

Accessibility & contrast

On white

5.21
#7062AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7062AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7062AC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7062AC#FFFFFF#000000##FFFFFF
##7062AC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6EAF
Deuteranopia (green-blind)
#4B6BAA
Tritanopia (blue-blind)
#61707F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7062ac;
/* rgb */ color: rgb(112, 98, 172);
/* oklch */ color: oklch(54.2% 0.113 290.8);
Tailwind
colors: {
  custom: {
    50: '#9b8ec5',
    500: '#7062ac',
    950: '#000000',
  },
}
SCSS
$custom: #7062ac;
$custom-light: #9b8ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#7062ac",
  "rgb": {
    "r": 112,
    "g": 98,
    "b": 172
  },
  "hsl": {
    "h": 251.351,
    "s": 30.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54237,
    "c": 0.11349,
    "h": 290.8
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#7062AC
secondary
#BFC5A5
accent
#C761B4
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #7062AC

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

Preview Lab → · Contrast checker → · Palette generator →

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