#7058AF#7058AF

#7058AF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.5% C 0.134 H 294.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7058AF
RGBrgb(112, 88, 175)
HSLhsl(257, 35%, 52%)
HSVhsv(257, 50%, 69%)
CMYKcmyk(36%, 49.7%, 0%, 31.4%)
CIE-LABlab(43.54, 30.02, -43.19)
CIE-LCHlch(43.54, 52.60, 304.81°)
OKLaboklab(52.55% 0.0544 -0.122)
OKLCHoklch(52.55% 0.134 294)
XYZxyz(17.9077, 13.5190, 42.2151)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7058AF #97AF58
analogous
#586CAF #7058AF #9C58AF
triadic
#7058AF #AF7058 #58AF70
tetradic
#7058AF #AF586C #97AF58 #58AF9C
square
#7058AF #AF586C #97AF58 #58AF9C
split-complementary
#7058AF #AF9C58 #6CAF58
monochromatic
#3B2E5F #554188 #7058AF #9381C3 #B7ABD7

Accessibility & contrast

On white

5.67
#7058AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7058AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7058AF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7058AF#FFFFFF#000000##FFFFFF
##7058AF1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3868B2
Deuteranopia (green-blind)
#3C65AD
Tritanopia (blue-blind)
#61697B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7058af;
/* rgb */ color: rgb(112, 88, 175);
/* oklch */ color: oklch(52.5% 0.134 294.0);
Tailwind
colors: {
  custom: {
    50: '#9c87c7',
    500: '#7058af',
    950: '#000000',
  },
}
SCSS
$custom: #7058af;
$custom-light: #9c87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7058af",
  "rgb": {
    "r": 112,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 256.552,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52548,
    "c": 0.13356,
    "h": 294
  },
  "luminance": 0.13519
}

Semantic roles & 50–950 ramp

primary
#7058AF
secondary
#BAC59E
accent
#CB5DAD
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #7058AF

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

Preview Lab → · Contrast checker → · Palette generator →

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