#7058DD#7058DD

#7058DD is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.7% C 0.194 H 286.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7058DD
RGBrgb(112, 88, 221)
HSLhsl(251, 66%, 61%)
HSVhsv(251, 60%, 87%)
CMYKcmyk(49.3%, 60.2%, 0%, 13.3%)
CIE-LABlab(46.50, 43.15, -65.00)
CIE-LCHlch(46.50, 78.02, 303.58°)
OKLaboklab(55.69% 0.0553 -0.1861)
OKLCHoklch(55.69% 0.194 286.6)
XYZxyz(23.2191, 15.6436, 70.1887)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7058DD #C5DD58
analogous
#5882DD #7058DD #B258DD
triadic
#7058DD #DD7058 #58DD70
tetradic
#7058DD #DD5882 #C5DD58 #58DDB2
square
#7058DD #DD5882 #C5DD58 #58DDB2
split-complementary
#7058DD #DDB258 #82DD58
monochromatic
#36209B #482ACE #7058DD #9C8BE7 #C7BEF2

Accessibility & contrast

On white

5.09
#7058DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7058DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7058DD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7058DD#FFFFFF#000000##FFFFFF
##7058DD1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#497792
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7058dd;
/* rgb */ color: rgb(112, 88, 221);
/* oklch */ color: oklch(55.7% 0.194 286.6);
Tailwind
colors: {
  custom: {
    50: '#a188e8',
    500: '#7058dd',
    950: '#000000',
  },
}
SCSS
$custom: #7058dd;
$custom-light: #a188e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7058dd",
  "rgb": {
    "r": 112,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 250.827,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55692,
    "c": 0.19413,
    "h": 286.6
  },
  "luminance": 0.15645
}

Semantic roles & 50–950 ramp

primary
#7058DD
secondary
#D9E2AF
accent
#CE17AD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7058DD

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

Preview Lab → · Contrast checker → · Palette generator →

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