#7060AF#7060AF

#7060AF is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.0% C 0.121 H 291.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7060AF
RGBrgb(112, 96, 175)
HSLhsl(252, 33%, 53%)
HSVhsv(252, 45%, 69%)
CMYKcmyk(36%, 45.1%, 0%, 31.4%)
CIE-LABlab(45.50, 25.19, -40.06)
CIE-LCHlch(45.50, 47.32, 302.16°)
OKLaboklab(54.03% 0.0436 -0.1128)
OKLCHoklch(54.03% 0.121 291.1)
XYZxyz(18.6008, 14.9052, 42.4461)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7060AF #9FAF60
analogous
#6077AF #7060AF #9760AF
triadic
#7060AF #AF7060 #60AF70
tetradic
#7060AF #AF6077 #9FAF60 #60AF97
square
#7060AF #AF6077 #9FAF60 #60AF97
split-complementary
#7060AF #AF9760 #77AF60
monochromatic
#3C3263 #54468C #7060AF #9589C3 #B9B1D8

Accessibility & contrast

On white

5.27
#7060AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7060AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7060AF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7060AF#FFFFFF#000000##FFFFFF
##7060AF1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456DB2
Deuteranopia (green-blind)
#476AAD
Tritanopia (blue-blind)
#606F7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7060af;
/* rgb */ color: rgb(112, 96, 175);
/* oklch */ color: oklch(54.0% 0.121 291.1);
Tailwind
colors: {
  custom: {
    50: '#9c8dc7',
    500: '#7060af',
    950: '#000000',
  },
}
SCSS
$custom: #7060af;
$custom-light: #9c8dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7060af",
  "rgb": {
    "r": 112,
    "g": 96,
    "b": 175
  },
  "hsl": {
    "h": 252.152,
    "s": 33.054,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54027,
    "c": 0.12094,
    "h": 291.1
  },
  "luminance": 0.14906
}

Semantic roles & 50–950 ramp

primary
#7060AF
secondary
#C0C6A4
accent
#C95FB4
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #7060AF

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

Preview Lab → · Contrast checker → · Palette generator →

#7060AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva