#7D58DB#7D58DB

#7D58DB is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.7% C 0.191 H 292.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7D58DB
RGBrgb(125, 88, 219)
HSLhsl(257, 65%, 60%)
HSVhsv(257, 60%, 86%)
CMYKcmyk(42.9%, 59.8%, 0%, 14.1%)
CIE-LABlab(47.56, 45.22, -62.09)
CIE-LCHlch(47.56, 76.81, 306.06°)
OKLaboklab(56.71% 0.0723 -0.1771)
OKLCHoklch(56.71% 0.191 292.2)
XYZxyz(24.7298, 16.4532, 68.8769)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58DB #B6DB58
analogous
#5874DB #7D58DB #BF58DB
triadic
#7D58DB #DB7D58 #58DB7D
tetradic
#7D58DB #DB5874 #B6DB58 #58DBBF
square
#7D58DB #DB5874 #B6DB58 #58DBBF
split-complementary
#7D58DB #DBBF58 #74DB58
monochromatic
#422198 #582CCA #7D58DB #A48AE6 #CBBDF1

Accessibility & contrast

On white

4.89
#7D58DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7D58DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58DB#FFFFFF#000000##FFFFFF
##7D58DB1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#627591
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d58db;
/* rgb */ color: rgb(125, 88, 219);
/* oklch */ color: oklch(56.7% 0.191 292.2);
Tailwind
colors: {
  custom: {
    50: '#a989e7',
    500: '#7d58db',
    950: '#000000',
  },
}
SCSS
$custom: #7d58db;
$custom-light: #a989e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58db",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 256.947,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56711,
    "c": 0.1913,
    "h": 292.2
  },
  "luminance": 0.16454
}

Semantic roles & 50–950 ramp

primary
#7D58DB
secondary
#D2E1AE
accent
#CC199A
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7D58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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