#7060BB#7060BB

#7060BB is a mid, vivid violet. Relative luminance 0.154; OKLCH L 54.7% C 0.138 H 289.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7060BB
RGBrgb(112, 96, 187)
HSLhsl(251, 40%, 55%)
HSVhsv(251, 49%, 73%)
CMYKcmyk(40.1%, 48.7%, 0%, 26.7%)
CIE-LABlab(46.17, 28.57, -46.00)
CIE-LCHlch(46.17, 54.15, 301.84°)
OKLaboklab(54.75% 0.0451 -0.1302)
OKLCHoklch(54.75% 0.138 289.1)
XYZxyz(19.8321, 15.3977, 48.9312)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7060BB #ABBB60
analogous
#607EBB #7060BB #9D60BB
triadic
#7060BB #BB7060 #60BB70
tetradic
#7060BB #BB607E #ABBB60 #60BB9D
square
#7060BB #BB607E #ABBB60 #60BB9D
split-complementary
#7060BB #BB9D60 #7EBB60
monochromatic
#3B3070 #52429B #7060BB #978BCD #BDB6E0

Accessibility & contrast

On white

5.15
#7060BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7060BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7060BB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7060BB#FFFFFF#000000##FFFFFF
##7060BB1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6FBE
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#5B7285
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7060bb;
/* rgb */ color: rgb(112, 96, 187);
/* oklch */ color: oklch(54.7% 0.138 289.1);
Tailwind
colors: {
  custom: {
    50: '#9d8dd0',
    500: '#7060bb',
    950: '#000000',
  },
}
SCSS
$custom: #7060bb;
$custom-light: #9d8dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7060bb",
  "rgb": {
    "r": 112,
    "g": 96,
    "b": 187
  },
  "hsl": {
    "h": 250.549,
    "s": 40.088,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54749,
    "c": 0.13777,
    "h": 289.1
  },
  "luminance": 0.15398
}

Semantic roles & 50–950 ramp

primary
#7060BB
secondary
#C8CEA8
accent
#D058BB
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0F0C14
muted
#7E7D82

Preview Lab

Preview with #7060BB

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

Preview Lab → · Contrast checker → · Palette generator →

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