#7058AC#7058AC

#7058AC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.4% C 0.129 H 294.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7058AC
RGBrgb(112, 88, 172)
HSLhsl(257, 34%, 51%)
HSVhsv(257, 49%, 67%)
CMYKcmyk(34.9%, 48.8%, 0%, 32.5%)
CIE-LABlab(43.36, 29.20, -41.70)
CIE-LCHlch(43.36, 50.90, 305.00°)
OKLaboklab(52.36% 0.0541 -0.1176)
OKLCHoklch(52.36% 0.129 294.7)
XYZxyz(17.6163, 13.4024, 40.6805)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7058AC #94AC58
analogous
#586AAC #7058AC #9A58AC
triadic
#7058AC #AC7058 #58AC70
tetradic
#7058AC #AC586A #94AC58 #58AC9A
square
#7058AC #AC586A #94AC58 #58AC9A
split-complementary
#7058AC #AC9A58 #6AAC58
monochromatic
#3B2E5C #554285 #7058AC #9381C0 #B6AAD5

Accessibility & contrast

On white

5.71
#7058AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7058AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7058AC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7058AC#FFFFFF#000000##FFFFFF
##7058AC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A67AF
Deuteranopia (green-blind)
#3F65AA
Tritanopia (blue-blind)
#62687A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7058ac;
/* rgb */ color: rgb(112, 88, 172);
/* oklch */ color: oklch(52.4% 0.129 294.7);
Tailwind
colors: {
  custom: {
    50: '#9c87c5',
    500: '#7058ac',
    950: '#000000',
  },
}
SCSS
$custom: #7058ac;
$custom-light: #9c87c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7058ac",
  "rgb": {
    "r": 112,
    "g": 88,
    "b": 172
  },
  "hsl": {
    "h": 257.143,
    "s": 33.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52364,
    "c": 0.12944,
    "h": 294.7
  },
  "luminance": 0.13403
}

Semantic roles & 50–950 ramp

primary
#7058AC
secondary
#B8C39D
accent
#CA5EAB
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #7058AC

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

Preview Lab → · Contrast checker → · Palette generator →

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