#7058BA#7058BA

#7058BA is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.2% C 0.148 H 291.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7058BA
RGBrgb(112, 88, 186)
HSLhsl(255, 42%, 54%)
HSVhsv(255, 53%, 73%)
CMYKcmyk(39.8%, 52.7%, 0%, 27.1%)
CIE-LABlab(44.19, 33.09, -48.59)
CIE-LCHlch(44.19, 58.78, 304.25°)
OKLaboklab(53.25% 0.0553 -0.1378)
OKLCHoklch(53.25% 0.148 291.9)
XYZxyz(19.0324, 13.9688, 48.1383)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7058BA #A2BA58
analogous
#5871BA #7058BA #A158BA
triadic
#7058BA #BA7058 #58BA70
tetradic
#7058BA #BA5871 #A2BA58 #58BAA1
square
#7058BA #BA5871 #A2BA58 #58BAA1
split-complementary
#7058BA #BAA158 #71BA58
monochromatic
#3C2C6B #543E97 #7058BA #9583CC #BAAFDE

Accessibility & contrast

On white

5.54
#7058BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7058BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7058BA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7058BA#FFFFFF#000000##FFFFFF
##7058BA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6ABD
Deuteranopia (green-blind)
#3267B8
Tritanopia (blue-blind)
#5C6C80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7058ba;
/* rgb */ color: rgb(112, 88, 186);
/* oklch */ color: oklch(53.2% 0.148 291.9);
Tailwind
colors: {
  custom: {
    50: '#9d88cf',
    500: '#7058ba',
    950: '#000000',
  },
}
SCSS
$custom: #7058ba;
$custom-light: #9d88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7058ba",
  "rgb": {
    "r": 112,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 254.694,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53246,
    "c": 0.14848,
    "h": 291.9
  },
  "luminance": 0.13969
}

Semantic roles & 50–950 ramp

primary
#7058BA
secondary
#C2CCA2
accent
#D156B3
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0F0B14
muted
#7E7C82

Preview Lab

Preview with #7058BA

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

Preview Lab → · Contrast checker → · Palette generator →

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