#7D58CA#7D58CA

#7D58CA is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.5% C 0.170 H 295.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7D58CA
RGBrgb(125, 88, 202)
HSLhsl(259, 52%, 57%)
HSVhsv(259, 56%, 79%)
CMYKcmyk(38.1%, 56.4%, 0%, 20.8%)
CIE-LABlab(46.45, 40.61, -54.16)
CIE-LCHlch(46.45, 67.69, 306.86°)
OKLaboklab(55.54% 0.0726 -0.1538)
OKLCHoklch(55.54% 0.17 295.3)
XYZxyz(22.6051, 15.6032, 57.6864)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58CA #A5CA58
analogous
#586CCA #7D58CA #B658CA
triadic
#7D58CA #CA7D58 #58CA7D
tetradic
#7D58CA #CA586C #A5CA58 #58CAB6
square
#7D58CA #CA586C #A5CA58 #58CAB6
split-complementary
#7D58CA #CAB658 #6CCA58
monochromatic
#45287F #5E37AE #7D58CA #A186D9 #C5B5E7

Accessibility & contrast

On white

5.10
#7D58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7D58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58CA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58CA#FFFFFF#000000##FFFFFF
##7D58CA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6FCE
Deuteranopia (green-blind)
#2C6CC7
Tritanopia (blue-blind)
#6A7088
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d58ca;
/* rgb */ color: rgb(125, 88, 202);
/* oklch */ color: oklch(55.5% 0.170 295.3);
Tailwind
colors: {
  custom: {
    50: '#a788db',
    500: '#7d58ca',
    950: '#000000',
  },
}
SCSS
$custom: #7d58ca;
$custom-light: #a788db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58ca",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 259.474,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55539,
    "c": 0.17007,
    "h": 295.3
  },
  "luminance": 0.15604
}

Semantic roles & 50–950 ramp

primary
#7D58CA
secondary
#C7D6A8
accent
#DB4DAD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D58CA

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

Preview Lab → · Contrast checker → · Palette generator →

#7D58CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva