#7D58C8#7D58C8

#7D58C8 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.4% C 0.168 H 295.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7D58C8
RGBrgb(125, 88, 200)
HSLhsl(260, 50%, 56%)
HSVhsv(260, 56%, 78%)
CMYKcmyk(37.5%, 56%, 0%, 21.6%)
CIE-LABlab(46.32, 40.07, -53.21)
CIE-LCHlch(46.32, 66.61, 306.98°)
OKLaboklab(55.41% 0.0726 -0.151)
OKLCHoklch(55.41% 0.168 295.7)
XYZxyz(22.3698, 15.5091, 56.4474)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58C8 #A3C858
analogous
#586BC8 #7D58C8 #B558C8
triadic
#7D58C8 #C87D58 #58C87D
tetradic
#7D58C8 #C8586B #A3C858 #58C8B5
square
#7D58C8 #C8586B #A3C858 #58C8B5
split-complementary
#7D58C8 #C8B558 #6BC858
monochromatic
#45297D #5E38AB #7D58C8 #A186D7 #C5B4E6

Accessibility & contrast

On white

5.12
#7D58C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7D58C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58C8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58C8#FFFFFF#000000##FFFFFF
##7D58C81.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226FCC
Deuteranopia (green-blind)
#2E6CC5
Tritanopia (blue-blind)
#6B6F87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d58c8;
/* rgb */ color: rgb(125, 88, 200);
/* oklch */ color: oklch(55.4% 0.168 295.7);
Tailwind
colors: {
  custom: {
    50: '#a788d9',
    500: '#7d58c8',
    950: '#000000',
  },
}
SCSS
$custom: #7d58c8;
$custom-light: #a788d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58c8",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 259.821,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55406,
    "c": 0.16754,
    "h": 295.7
  },
  "luminance": 0.1551
}

Semantic roles & 50–950 ramp

primary
#7D58C8
secondary
#C6D5A7
accent
#DA4EAC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D58C8

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

Preview Lab → · Contrast checker → · Palette generator →

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