#7D58FA#7D58FA

#7D58FA is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.0% C 0.229 H 287.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7D58FA
RGBrgb(125, 88, 250)
HSLhsl(254, 94%, 66%)
HSVhsv(254, 65%, 98%)
CMYKcmyk(50%, 64.8%, 0%, 2%)
CIE-LABlab(49.79, 53.81, -75.93)
CIE-LCHlch(49.79, 93.06, 305.32°)
OKLaboklab(59.03% 0.0697 -0.2178)
OKLCHoklch(59.03% 0.229 287.8)
XYZxyz(29.1974, 18.2402, 92.4062)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58FA #D5FA58
analogous
#5884FA #7D58FA #CE58FA
triadic
#7D58FA #FA7D58 #58FA7D
tetradic
#7D58FA #FA5884 #D5FA58 #58FACE
square
#7D58FA #FA5884 #D5FA58 #58FACE
split-complementary
#7D58FA #FACE58 #84FA58
monochromatic
#3506D1 #4F1DF8 #7D58FA #AB93FC #DACFFE

Accessibility & contrast

On white

4.52
#7D58FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7D58FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D58FA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58FA#FFFFFF#000000##000000
##7D58FA1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0072F7
Tritanopia (blue-blind)
#4F80A2
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d58fa;
/* rgb */ color: rgb(125, 88, 250);
/* oklch */ color: oklch(59.0% 0.229 287.8);
Tailwind
colors: {
  custom: {
    50: '#ac89fd',
    500: '#7d58fa',
    950: '#000000',
  },
}
SCSS
$custom: #7d58fa;
$custom-light: #ac89fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58fa",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 250
  },
  "hsl": {
    "h": 253.704,
    "s": 94.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59025,
    "c": 0.22868,
    "h": 287.8
  },
  "luminance": 0.18242
}

Semantic roles & 50–950 ramp

primary
#7D58FA
secondary
#E5F1BC
accent
#E600B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7D58FA

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

Preview Lab → · Contrast checker → · Palette generator →

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