#7D58BC#7D58BC

#7D58BC is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.6% C 0.152 H 298.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7D58BC
RGBrgb(125, 88, 188)
HSLhsl(262, 43%, 54%)
HSVhsv(262, 53%, 74%)
CMYKcmyk(33.5%, 53.2%, 0%, 26.3%)
CIE-LABlab(45.59, 36.89, -47.43)
CIE-LCHlch(45.59, 60.09, 307.87°)
OKLaboklab(54.63% 0.0721 -0.134)
OKLCHoklch(54.63% 0.152 298.3)
XYZxyz(21.0221, 14.9700, 49.3492)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58BC #97BC58
analogous
#5865BC #7D58BC #AF58BC
triadic
#7D58BC #BC7D58 #58BC7D
tetradic
#7D58BC #BC5865 #97BC58 #58BCAF
square
#7D58BC #BC5865 #97BC58 #58BCAF
split-complementary
#7D58BC #BCAF58 #65BC58
monochromatic
#442C6E #5F3E99 #7D58BC #9F84CE #C1AFDF

Accessibility & contrast

On white

5.26
#7D58BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7D58BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58BC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58BC#FFFFFF#000000##FFFFFF
##7D58BC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CBF
Deuteranopia (green-blind)
#3C6BBA
Tritanopia (blue-blind)
#6F6C81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d58bc;
/* rgb */ color: rgb(125, 88, 188);
/* oklch */ color: oklch(54.6% 0.152 298.3);
Tailwind
colors: {
  custom: {
    50: '#a688d1',
    500: '#7d58bc',
    950: '#000000',
  },
}
SCSS
$custom: #7d58bc;
$custom-light: #a688d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58bc",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 262.2,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54631,
    "c": 0.15222,
    "h": 298.3
  },
  "luminance": 0.1497
}

Semantic roles & 50–950 ramp

primary
#7D58BC
secondary
#BDCDA3
accent
#D355A4
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7D58BC

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

Preview Lab → · Contrast checker → · Palette generator →

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