#7062AD#7062AD

#7062AD is a mid, moderate violet. Relative luminance 0.152; OKLCH L 54.3% C 0.115 H 290.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7062AD
RGBrgb(112, 98, 173)
HSLhsl(251, 31%, 53%)
HSVhsv(251, 43%, 68%)
CMYKcmyk(35.3%, 43.4%, 0%, 32.2%)
CIE-LABlab(45.90, 23.42, -38.26)
CIE-LCHlch(45.90, 44.86, 301.47°)
OKLaboklab(54.29% 0.0405 -0.1076)
OKLCHoklch(54.29% 0.115 290.6)
XYZxyz(18.5906, 15.1968, 41.4809)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7062AD #9FAD62
analogous
#6279AD #7062AD #9562AD
triadic
#7062AD #AD7062 #62AD70
tetradic
#7062AD #AD6279 #9FAD62 #62AD95
square
#7062AD #AD6279 #9FAD62 #62AD95
split-complementary
#7062AD #AD9562 #79AD62
monochromatic
#3C3362 #54488A #7062AD #958AC2 #B9B2D7

Accessibility & contrast

On white

5.20
#7062AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7062AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7062AD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7062AD#FFFFFF#000000##FFFFFF
##7062AD1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7062ad;
/* rgb */ color: rgb(112, 98, 173);
/* oklch */ color: oklch(54.3% 0.115 290.6);
Tailwind
colors: {
  custom: {
    50: '#9b8ec6',
    500: '#7062ad',
    950: '#000000',
  },
}
SCSS
$custom: #7062ad;
$custom-light: #9b8ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#7062ad",
  "rgb": {
    "r": 112,
    "g": 98,
    "b": 173
  },
  "hsl": {
    "h": 251.2,
    "s": 31.381,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54294,
    "c": 0.11493,
    "h": 290.6
  },
  "luminance": 0.15197
}

Semantic roles & 50–950 ramp

primary
#7062AD
secondary
#C0C6A5
accent
#C860B4
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #7062AD

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

Preview Lab → · Contrast checker → · Palette generator →

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