#7D58EA#7D58EA

#7D58EA is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.8% C 0.210 H 289.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7D58EA
RGBrgb(125, 88, 234)
HSLhsl(255, 78%, 63%)
HSVhsv(255, 62%, 92%)
CMYKcmyk(46.6%, 62.4%, 0%, 8.2%)
CIE-LABlab(48.61, 49.36, -68.89)
CIE-LCHlch(48.61, 84.74, 305.62°)
OKLaboklab(57.8% 0.0714 -0.1971)
OKLCHoklch(57.8% 0.21 289.9)
XYZxyz(26.7942, 17.2789, 79.7493)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58EA #C5EA58
analogous
#587CEA #7D58EA #C658EA
triadic
#7D58EA #EA7D58 #58EA7D
tetradic
#7D58EA #EA587C #C5EA58 #58EAC6
square
#7D58EA #EA587C #C5EA58 #58EAC6
split-complementary
#7D58EA #EAC658 #7CEA58
monochromatic
#3E16B1 #5322E3 #7D58EA #A78EF1 #D2C5F8

Accessibility & contrast

On white

4.71
#7D58EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7D58EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58EA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58EA#FFFFFF#000000##FFFFFF
##7D58EA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#5A7A99
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d58ea;
/* rgb */ color: rgb(125, 88, 234);
/* oklch */ color: oklch(57.8% 0.210 289.9);
Tailwind
colors: {
  custom: {
    50: '#aa89f2',
    500: '#7d58ea',
    950: '#000000',
  },
}
SCSS
$custom: #7d58ea;
$custom-light: #aa89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58ea",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 255.205,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57804,
    "c": 0.2096,
    "h": 289.9
  },
  "luminance": 0.1728
}

Semantic roles & 50–950 ramp

primary
#7D58EA
secondary
#DCE9B5
accent
#DA0CA6
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D58EA

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

Preview Lab → · Contrast checker → · Palette generator →

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