#7058DF#7058DF

#7058DF is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.8% C 0.197 H 286.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7058DF
RGBrgb(112, 88, 223)
HSLhsl(251, 68%, 61%)
HSVhsv(251, 61%, 87%)
CMYKcmyk(49.8%, 60.5%, 0%, 12.5%)
CIE-LABlab(46.65, 43.74, -65.91)
CIE-LCHlch(46.65, 79.10, 303.57°)
OKLaboklab(55.84% 0.0552 -0.1887)
OKLCHoklch(55.84% 0.197 286.3)
XYZxyz(23.4872, 15.7508, 71.6004)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7058DF #C7DF58
analogous
#5883DF #7058DF #B358DF
triadic
#7058DF #DF7058 #58DF70
tetradic
#7058DF #DF5883 #C7DF58 #58DFB3
square
#7058DF #DF5883 #C7DF58 #58DFB3
split-complementary
#7058DF #DFB358 #83DF58
monochromatic
#351E9E #4628D2 #7058DF #9C8BE9 #C8BFF3

Accessibility & contrast

On white

5.06
#7058DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7058DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7058DF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7058DF#FFFFFF#000000##FFFFFF
##7058DF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#487893
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7058df;
/* rgb */ color: rgb(112, 88, 223);
/* oklch */ color: oklch(55.8% 0.197 286.3);
Tailwind
colors: {
  custom: {
    50: '#a188ea',
    500: '#7058df',
    950: '#000000',
  },
}
SCSS
$custom: #7058df;
$custom-light: #a188ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7058df",
  "rgb": {
    "r": 112,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 250.667,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55841,
    "c": 0.19665,
    "h": 286.3
  },
  "luminance": 0.15752
}

Semantic roles & 50–950 ramp

primary
#7058DF
secondary
#DAE3B0
accent
#D016AF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7058DF

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

Preview Lab → · Contrast checker → · Palette generator →

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