#7D58DE#7D58DE

#7D58DE is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.9% C 0.195 H 291.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7D58DE
RGBrgb(125, 88, 222)
HSLhsl(257, 67%, 61%)
HSVhsv(257, 60%, 87%)
CMYKcmyk(43.7%, 60.4%, 0%, 12.9%)
CIE-LABlab(47.77, 46.04, -63.47)
CIE-LCHlch(47.77, 78.41, 305.96°)
OKLaboklab(56.93% 0.0722 -0.1811)
OKLCHoklch(56.93% 0.195 291.7)
XYZxyz(25.1283, 16.6125, 70.9756)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58DE #B9DE58
analogous
#5876DE #7D58DE #C058DE
triadic
#7D58DE #DE7D58 #58DE7D
tetradic
#7D58DE #DE5876 #B9DE58 #58DEC0
square
#7D58DE #DE5876 #B9DE58 #58DEC0
split-complementary
#7D58DE #DEC058 #76DE58
monochromatic
#421F9D #5729D0 #7D58DE #A58BE8 #CDBEF2

Accessibility & contrast

On white

4.86
#7D58DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7D58DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58DE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58DE#FFFFFF#000000##FFFFFF
##7D58DE1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#617693
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d58de;
/* rgb */ color: rgb(125, 88, 222);
/* oklch */ color: oklch(56.9% 0.195 291.7);
Tailwind
colors: {
  custom: {
    50: '#a989e9',
    500: '#7d58de',
    950: '#000000',
  },
}
SCSS
$custom: #7d58de;
$custom-light: #a989e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58de",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 256.567,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56926,
    "c": 0.19499,
    "h": 291.7
  },
  "luminance": 0.16613
}

Semantic roles & 50–950 ramp

primary
#7D58DE
secondary
#D4E2B0
accent
#CF179C
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7D58DE

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

Preview Lab → · Contrast checker → · Palette generator →

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