#7058A2#7058A2

#7058A2 is a mid, moderate violet. Relative luminance 0.130; OKLCH L 51.8% C 0.116 H 297.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7058A2
RGBrgb(112, 88, 162)
HSLhsl(259, 30%, 49%)
HSVhsv(259, 46%, 64%)
CMYKcmyk(30.9%, 45.7%, 0%, 36.5%)
CIE-LABlab(42.81, 26.50, -36.65)
CIE-LCHlch(42.81, 45.23, 305.86°)
OKLaboklab(51.77% 0.0528 -0.1029)
OKLCHoklch(51.77% 0.116 297.1)
XYZxyz(16.6918, 13.0326, 35.8116)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7058A2 #8AA258
analogous
#5865A2 #7058A2 #9558A2
triadic
#7058A2 #A27058 #58A270
tetradic
#7058A2 #A25865 #8AA258 #58A295
square
#7058A2 #A25865 #8AA258 #58A295
split-complementary
#7058A2 #A29558 #65A258
monochromatic
#392D53 #55427A #7058A2 #917EB9 #B3A6CF

Accessibility & contrast

On white

5.82
#7058A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7058A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7058A2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7058A2#FFFFFF#000000##FFFFFF
##7058A21.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A5
Deuteranopia (green-blind)
#4664A0
Tritanopia (blue-blind)
#656575
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7058a2;
/* rgb */ color: rgb(112, 88, 162);
/* oklch */ color: oklch(51.8% 0.116 297.1);
Tailwind
colors: {
  custom: {
    50: '#9b87be',
    500: '#7058a2',
    950: '#000000',
  },
}
SCSS
$custom: #7058a2;
$custom-light: #9b87be;
$custom-dark: #000000;
JSON
{
  "hex": "#7058a2",
  "rgb": {
    "r": 112,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 259.459,
    "s": 29.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51771,
    "c": 0.11562,
    "h": 297.1
  },
  "luminance": 0.13033
}

Semantic roles & 50–950 ramp

primary
#7058A2
secondary
#B1BC99
accent
#C662A5
background
#F9F8FB
surface
#F2EFF7
border
#CCCAD0
text
#0E0B12
muted
#7E7C81

Preview Lab

Preview with #7058A2

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

Preview Lab → · Contrast checker → · Palette generator →

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