#7058E7#7058E7

#7058E7 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.4% C 0.207 H 285.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7058E7
RGBrgb(112, 88, 231)
HSLhsl(250, 75%, 63%)
HSVhsv(250, 62%, 91%)
CMYKcmyk(51.5%, 61.9%, 0%, 9.4%)
CIE-LABlab(47.23, 46.08, -69.50)
CIE-LCHlch(47.23, 83.38, 303.55°)
OKLaboklab(56.45% 0.0547 -0.1993)
OKLCHoklch(56.45% 0.207 285.4)
XYZxyz(24.5913, 16.1924, 77.4155)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7058E7 #CFE758
analogous
#5887E7 #7058E7 #B858E7
triadic
#7058E7 #E77058 #58E770
tetradic
#7058E7 #E75887 #CFE758 #58E7B8
square
#7058E7 #E75887 #CFE758 #58E7B8
split-complementary
#7058E7 #E7B858 #87E758
monochromatic
#3119AC #4222DF #7058E7 #9E8EEF #CCC3F6

Accessibility & contrast

On white

4.95
#7058E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7058E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7058E7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7058E7#FFFFFF#000000##FFFFFF
##7058E71.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#006CE4
Tritanopia (blue-blind)
#417A97
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7058e7;
/* rgb */ color: rgb(112, 88, 231);
/* oklch */ color: oklch(56.4% 0.207 285.4);
Tailwind
colors: {
  custom: {
    50: '#a288f0',
    500: '#7058e7',
    950: '#000000',
  },
}
SCSS
$custom: #7058e7;
$custom-light: #a288f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7058e7",
  "rgb": {
    "r": 112,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 250.07,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56447,
    "c": 0.20666,
    "h": 285.4
  },
  "luminance": 0.16194
}

Semantic roles & 50–950 ramp

primary
#7058E7
secondary
#DFE7B3
accent
#D70EB5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7058E7

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

Preview Lab → · Contrast checker → · Palette generator →

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