#7D58DF#7D58DF

#7D58DF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.0% C 0.196 H 291.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7D58DF
RGBrgb(125, 88, 223)
HSLhsl(256, 68%, 61%)
HSVhsv(256, 61%, 87%)
CMYKcmyk(43.9%, 60.5%, 0%, 12.5%)
CIE-LABlab(47.84, 46.32, -63.92)
CIE-LCHlch(47.84, 78.94, 305.93°)
OKLaboklab(57% 0.0721 -0.1825)
OKLCHoklch(57% 0.196 291.6)
XYZxyz(25.2628, 16.6663, 71.6836)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58DF #BADF58
analogous
#5876DF #7D58DF #C058DF
triadic
#7D58DF #DF7D58 #58DF7D
tetradic
#7D58DF #DF5876 #BADF58 #58DFC0
square
#7D58DF #DF5876 #BADF58 #58DFC0
split-complementary
#7D58DF #DFC058 #76DF58
monochromatic
#411E9E #5728D2 #7D58DF #A58BE9 #CDBFF3

Accessibility & contrast

On white

4.85
#7D58DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7D58DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58DF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58DF#FFFFFF#000000##FFFFFF
##7D58DF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#607793
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d58df;
/* rgb */ color: rgb(125, 88, 223);
/* oklch */ color: oklch(57.0% 0.196 291.6);
Tailwind
colors: {
  custom: {
    50: '#a989ea',
    500: '#7d58df',
    950: '#000000',
  },
}
SCSS
$custom: #7d58df;
$custom-light: #a989ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58df",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 256.444,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56997,
    "c": 0.19622,
    "h": 291.6
  },
  "luminance": 0.16667
}

Semantic roles & 50–950 ramp

primary
#7D58DF
secondary
#D5E3B0
accent
#D0169D
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7D58DF

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

Preview Lab → · Contrast checker → · Palette generator →

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