#7058CA#7058CA

#7058CA is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.3% C 0.170 H 289.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7058CA
RGBrgb(112, 88, 202)
HSLhsl(253, 52%, 57%)
HSVhsv(253, 56%, 79%)
CMYKcmyk(44.6%, 56.4%, 0%, 20.8%)
CIE-LABlab(45.20, 37.64, -56.23)
CIE-LCHlch(45.20, 67.67, 303.80°)
OKLaboklab(54.32% 0.0558 -0.1603)
OKLCHoklch(54.32% 0.17 289.2)
XYZxyz(20.8295, 14.6877, 57.6032)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7058CA #B2CA58
analogous
#5879CA #7058CA #A958CA
triadic
#7058CA #CA7058 #58CA70
tetradic
#7058CA #CA5879 #B2CA58 #58CAA9
square
#7058CA #CA5879 #B2CA58 #58CAA9
split-complementary
#7058CA #CAA958 #79CA58
monochromatic
#3B287F #5037AE #7058CA #9886D9 #C0B5E7

Accessibility & contrast

On white

5.33
#7058CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7058CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7058CA
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7058CA#FFFFFF#000000##FFFFFF
##7058CA1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136DCE
Deuteranopia (green-blind)
#1868C8
Tritanopia (blue-blind)
#557188
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7058ca;
/* rgb */ color: rgb(112, 88, 202);
/* oklch */ color: oklch(54.3% 0.170 289.2);
Tailwind
colors: {
  custom: {
    50: '#9f88db',
    500: '#7058ca',
    950: '#000000',
  },
}
SCSS
$custom: #7058ca;
$custom-light: #9f88db;
$custom-dark: #000000;
JSON
{
  "hex": "#7058ca",
  "rgb": {
    "r": 112,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 252.632,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54324,
    "c": 0.1697,
    "h": 289.2
  },
  "luminance": 0.14688
}

Semantic roles & 50–950 ramp

primary
#7058CA
secondary
#CCD6A8
accent
#DB4DBD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7058CA

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

Preview Lab → · Contrast checker → · Palette generator →

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