#7058E4#7058E4

#7058E4 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.2% C 0.203 H 285.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7058E4
RGBrgb(112, 88, 228)
HSLhsl(250, 72%, 62%)
HSVhsv(250, 61%, 89%)
CMYKcmyk(50.9%, 61.4%, 0%, 10.6%)
CIE-LABlab(47.01, 45.20, -68.16)
CIE-LCHlch(47.01, 81.78, 303.55°)
OKLaboklab(56.22% 0.0549 -0.1953)
OKLCHoklch(56.22% 0.203 285.7)
XYZxyz(24.1712, 16.0244, 75.2031)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7058E4 #CCE458
analogous
#5886E4 #7058E4 #B658E4
triadic
#7058E4 #E47058 #58E470
tetradic
#7058E4 #E45886 #CCE458 #58E4B6
square
#7058E4 #E45886 #CCE458 #58E4B6
split-complementary
#7058E4 #E4B658 #86E458
monochromatic
#331BA7 #4323DB #7058E4 #9D8DED #CAC1F5

Accessibility & contrast

On white

4.99
#7058E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7058E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7058E4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7058E4#FFFFFF#000000##FFFFFF
##7058E41.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E8
Deuteranopia (green-blind)
#006BE1
Tritanopia (blue-blind)
#447996
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7058e4;
/* rgb */ color: rgb(112, 88, 228);
/* oklch */ color: oklch(56.2% 0.203 285.7);
Tailwind
colors: {
  custom: {
    50: '#a288ed',
    500: '#7058e4',
    950: '#000000',
  },
}
SCSS
$custom: #7058e4;
$custom-light: #a288ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7058e4",
  "rgb": {
    "r": 112,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 250.286,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56218,
    "c": 0.20292,
    "h": 285.7
  },
  "luminance": 0.16026
}

Semantic roles & 50–950 ramp

primary
#7058E4
secondary
#DDE6B2
accent
#D411B3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7058E4

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

Preview Lab → · Contrast checker → · Palette generator →

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