#7058DB#7058DB

#7058DB is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.5% C 0.192 H 286.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7058DB
RGBrgb(112, 88, 219)
HSLhsl(251, 65%, 60%)
HSVhsv(251, 60%, 86%)
CMYKcmyk(48.9%, 59.8%, 0%, 14.1%)
CIE-LABlab(46.36, 42.57, -64.10)
CIE-LCHlch(46.36, 76.94, 303.59°)
OKLaboklab(55.54% 0.0554 -0.1834)
OKLCHoklch(55.54% 0.192 286.8)
XYZxyz(22.9543, 15.5376, 68.7937)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7058DB #C3DB58
analogous
#5882DB #7058DB #B158DB
triadic
#7058DB #DB7058 #58DB70
tetradic
#7058DB #DB5882 #C3DB58 #58DBB1
square
#7058DB #DB5882 #C3DB58 #58DBB1
split-complementary
#7058DB #DBB158 #82DB58
monochromatic
#372198 #492CCA #7058DB #9B8AE6 #C6BDF1

Accessibility & contrast

On white

5.11
#7058DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7058DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7058DB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7058DB#FFFFFF#000000##FFFFFF
##7058DB1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#4A7691
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7058db;
/* rgb */ color: rgb(112, 88, 219);
/* oklch */ color: oklch(55.5% 0.192 286.8);
Tailwind
colors: {
  custom: {
    50: '#a188e7',
    500: '#7058db',
    950: '#000000',
  },
}
SCSS
$custom: #7058db;
$custom-light: #a188e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7058db",
  "rgb": {
    "r": 112,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 250.992,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55544,
    "c": 0.19159,
    "h": 286.8
  },
  "luminance": 0.15539
}

Semantic roles & 50–950 ramp

primary
#7058DB
secondary
#D7E1AE
accent
#CC19AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7058DB

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

Preview Lab → · Contrast checker → · Palette generator →

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