#7D58BE#7D58BE

#7D58BE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.8% C 0.155 H 297.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7D58BE
RGBrgb(125, 88, 190)
HSLhsl(262, 44%, 55%)
HSVhsv(262, 54%, 75%)
CMYKcmyk(34.2%, 53.7%, 0%, 25.5%)
CIE-LABlab(45.71, 37.41, -48.41)
CIE-LCHlch(45.71, 61.18, 307.70°)
OKLaboklab(54.76% 0.0723 -0.1369)
OKLCHoklch(54.76% 0.155 297.8)
XYZxyz(21.2391, 15.0569, 50.4925)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58BE #99BE58
analogous
#5866BE #7D58BE #B058BE
triadic
#7D58BE #BE7D58 #58BE7D
tetradic
#7D58BE #BE5866 #99BE58 #58BEB0
square
#7D58BE #BE5866 #99BE58 #58BEB0
split-complementary
#7D58BE #BEB058 #66BE58
monochromatic
#442C70 #5F3D9C #7D58BE #9F84CF #C2B0E0

Accessibility & contrast

On white

5.24
#7D58BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7D58BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58BE
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58BE#FFFFFF#000000##FFFFFF
##7D58BE1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6CC1
Deuteranopia (green-blind)
#3A6BBC
Tritanopia (blue-blind)
#6F6C82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d58be;
/* rgb */ color: rgb(125, 88, 190);
/* oklch */ color: oklch(54.8% 0.155 297.8);
Tailwind
colors: {
  custom: {
    50: '#a688d2',
    500: '#7d58be',
    950: '#000000',
  },
}
SCSS
$custom: #7d58be;
$custom-light: #a688d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58be",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 190
  },
  "hsl": {
    "h": 261.765,
    "s": 43.966,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54757,
    "c": 0.15479,
    "h": 297.8
  },
  "luminance": 0.15057
}

Semantic roles & 50–950 ramp

primary
#7D58BE
secondary
#BFCEA3
accent
#D454A5
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7D58BE

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

Preview Lab → · Contrast checker → · Palette generator →

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