#7D58D2#7D58D2

#7D58D2 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.1% C 0.180 H 293.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7D58D2
RGBrgb(125, 88, 210)
HSLhsl(258, 58%, 58%)
HSVhsv(258, 58%, 82%)
CMYKcmyk(40.5%, 58.1%, 0%, 17.6%)
CIE-LABlab(46.96, 42.76, -57.93)
CIE-LCHlch(46.96, 72.00, 306.44°)
OKLaboklab(56.08% 0.0726 -0.1648)
OKLCHoklch(56.08% 0.18 293.8)
XYZxyz(23.5769, 15.9920, 62.8048)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58D2 #ADD258
analogous
#5870D2 #7D58D2 #BA58D2
triadic
#7D58D2 #D27D58 #58D27D
tetradic
#7D58D2 #D25870 #ADD258 #58D2BA
square
#7D58D2 #D25870 #ADD258 #58D2BA
split-complementary
#7D58D2 #D2BA58 #70D258
monochromatic
#44258A #5C32BB #7D58D2 #A388DF #C8B8EC

Accessibility & contrast

On white

5.00
#7D58D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7D58D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58D2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58D2#FFFFFF#000000##FFFFFF
##7D58D21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0671D6
Deuteranopia (green-blind)
#1D6DCF
Tritanopia (blue-blind)
#67738C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d58d2;
/* rgb */ color: rgb(125, 88, 210);
/* oklch */ color: oklch(56.1% 0.180 293.8);
Tailwind
colors: {
  custom: {
    50: '#a888e0',
    500: '#7d58d2',
    950: '#000000',
  },
}
SCSS
$custom: #7d58d2;
$custom-light: #a888e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58d2",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 258.197,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56081,
    "c": 0.18012,
    "h": 293.8
  },
  "luminance": 0.15993
}

Semantic roles & 50–950 ramp

primary
#7D58D2
secondary
#CCDBAB
accent
#E147B2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D58D2

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

Preview Lab → · Contrast checker → · Palette generator →

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