#7058D8#7058D8

#7058D8 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.3% C 0.188 H 287.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7058D8
RGBrgb(112, 88, 216)
HSLhsl(251, 62%, 60%)
HSVhsv(251, 59%, 85%)
CMYKcmyk(48.1%, 59.3%, 0%, 15.3%)
CIE-LABlab(46.15, 41.70, -62.73)
CIE-LCHlch(46.15, 75.32, 303.61°)
OKLaboklab(55.32% 0.0556 -0.1794)
OKLCHoklch(55.32% 0.188 287.2)
XYZxyz(22.5629, 15.3811, 66.7324)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7058D8 #C0D858
analogous
#5880D8 #7058D8 #B058D8
triadic
#7058D8 #D87058 #58D870
tetradic
#7058D8 #D85880 #C0D858 #58D8B0
square
#7058D8 #D85880 #C0D858 #58D8B0
split-complementary
#7058D8 #D8B058 #80D858
monochromatic
#382293 #4A2EC5 #7058D8 #9A8AE4 #C5BBEF

Accessibility & contrast

On white

5.15
#7058D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7058D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7058D8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7058D8#FFFFFF#000000##FFFFFF
##7058D81.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#006AD5
Tritanopia (blue-blind)
#4C7590
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7058d8;
/* rgb */ color: rgb(112, 88, 216);
/* oklch */ color: oklch(55.3% 0.188 287.2);
Tailwind
colors: {
  custom: {
    50: '#a088e5',
    500: '#7058d8',
    950: '#000000',
  },
}
SCSS
$custom: #7058d8;
$custom-light: #a088e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7058d8",
  "rgb": {
    "r": 112,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 251.25,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55323,
    "c": 0.18777,
    "h": 287.2
  },
  "luminance": 0.15382
}

Semantic roles & 50–950 ramp

primary
#7058D8
secondary
#D5DFAD
accent
#E543C7
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #7058D8

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

Preview Lab → · Contrast checker → · Palette generator →

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