#7058CC#7058CC

#7058CC is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.5% C 0.172 H 288.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7058CC
RGBrgb(112, 88, 204)
HSLhsl(252, 53%, 57%)
HSVhsv(252, 57%, 80%)
CMYKcmyk(45.1%, 56.9%, 0%, 20%)
CIE-LABlab(45.34, 38.22, -57.17)
CIE-LCHlch(45.34, 68.77, 303.76°)
OKLaboklab(54.46% 0.0558 -0.163)
OKLCHoklch(54.46% 0.172 288.9)
XYZxyz(21.0678, 14.7830, 58.8584)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7058CC #B4CC58
analogous
#587ACC #7058CC #AA58CC
triadic
#7058CC #CC7058 #58CC70
tetradic
#7058CC #CC587A #B4CC58 #58CCAA
square
#7058CC #CC587A #B4CC58 #58CCAA
split-complementary
#7058CC #CCAA58 #7ACC58
monochromatic
#3A2882 #4F36B1 #7058CC #9887DA #C0B6E9

Accessibility & contrast

On white

5.31
#7058CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7058CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7058CC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7058CC#FFFFFF#000000##FFFFFF
##7058CC1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6ED0
Deuteranopia (green-blind)
#1268C9
Tritanopia (blue-blind)
#547289
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7058cc;
/* rgb */ color: rgb(112, 88, 204);
/* oklch */ color: oklch(54.5% 0.172 288.9);
Tailwind
colors: {
  custom: {
    50: '#9f88dc',
    500: '#7058cc',
    950: '#000000',
  },
}
SCSS
$custom: #7058cc;
$custom-light: #9f88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7058cc",
  "rgb": {
    "r": 112,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 252.414,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54464,
    "c": 0.17231,
    "h": 288.9
  },
  "luminance": 0.14784
}

Semantic roles & 50–950 ramp

primary
#7058CC
secondary
#CED7A8
accent
#DD4BBF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7058CC

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

Preview Lab → · Contrast checker → · Palette generator →

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