#7058E8#7058E8

#7058E8 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.5% C 0.208 H 285.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7058E8
RGBrgb(112, 88, 232)
HSLhsl(250, 76%, 63%)
HSVhsv(250, 62%, 91%)
CMYKcmyk(51.7%, 62.1%, 0%, 9%)
CIE-LABlab(47.30, 46.37, -69.94)
CIE-LCHlch(47.30, 83.92, 303.54°)
OKLaboklab(56.52% 0.0546 -0.2006)
OKLCHoklch(56.52% 0.208 285.2)
XYZxyz(24.7329, 16.2491, 78.1614)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7058E8 #D0E858
analogous
#5888E8 #7058E8 #B858E8
triadic
#7058E8 #E87058 #58E870
tetradic
#7058E8 #E85888 #D0E858 #58E8B8
square
#7058E8 #E85888 #D0E858 #58E8B8
split-complementary
#7058E8 #E8B858 #88E858
monochromatic
#3118AE #4222E1 #7058E8 #9E8EEF #CCC4F7

Accessibility & contrast

On white

4.94
#7058E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7058E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7058E8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7058E8#FFFFFF#000000##FFFFFF
##7058E81.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#407B98
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7058e8;
/* rgb */ color: rgb(112, 88, 232);
/* oklch */ color: oklch(56.5% 0.208 285.2);
Tailwind
colors: {
  custom: {
    50: '#a288f0',
    500: '#7058e8',
    950: '#000000',
  },
}
SCSS
$custom: #7058e8;
$custom-light: #a288f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7058e8",
  "rgb": {
    "r": 112,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 250,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56524,
    "c": 0.20789,
    "h": 285.2
  },
  "luminance": 0.1625
}

Semantic roles & 50–950 ramp

primary
#7058E8
secondary
#DFE8B4
accent
#D80EB6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7058E8

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

Preview Lab → · Contrast checker → · Palette generator →

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