#7058CF#7058CF

#7058CF is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.7% C 0.176 H 288.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7058CF
RGBrgb(112, 88, 207)
HSLhsl(252, 55%, 58%)
HSVhsv(252, 57%, 81%)
CMYKcmyk(45.9%, 57.5%, 0%, 18.8%)
CIE-LABlab(45.54, 39.09, -58.57)
CIE-LCHlch(45.54, 70.42, 303.72°)
OKLaboklab(54.68% 0.0558 -0.1671)
OKLCHoklch(54.68% 0.176 288.4)
XYZxyz(21.4311, 14.9283, 60.7716)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7058CF #B7CF58
analogous
#587BCF #7058CF #AC58CF
triadic
#7058CF #CF7058 #58CF70
tetradic
#7058CF #CF587B #B7CF58 #58CFAC
square
#7058CF #CF587B #B7CF58 #58CFAC
split-complementary
#7058CF #CFAC58 #7BCF58
monochromatic
#3A2786 #4E34B6 #7058CF #9988DD #C1B7EA

Accessibility & contrast

On white

5.27
#7058CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7058CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7058CF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7058CF#FFFFFF#000000##FFFFFF
##7058CF1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0469CC
Tritanopia (blue-blind)
#52738B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7058cf;
/* rgb */ color: rgb(112, 88, 207);
/* oklch */ color: oklch(54.7% 0.176 288.4);
Tailwind
colors: {
  custom: {
    50: '#9f88de',
    500: '#7058cf',
    950: '#000000',
  },
}
SCSS
$custom: #7058cf;
$custom-light: #9f88de;
$custom-dark: #000000;
JSON
{
  "hex": "#7058cf",
  "rgb": {
    "r": 112,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 252.101,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54675,
    "c": 0.17621,
    "h": 288.4
  },
  "luminance": 0.14929
}

Semantic roles & 50–950 ramp

primary
#7058CF
secondary
#D0D9AA
accent
#DF49C1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7058CF

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

Preview Lab → · Contrast checker → · Palette generator →

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