#7D58F7#7D58F7

#7D58F7 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.225 H 288.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7D58F7
RGBrgb(125, 88, 247)
HSLhsl(254, 91%, 66%)
HSVhsv(254, 64%, 97%)
CMYKcmyk(49.4%, 64.4%, 0%, 3.1%)
CIE-LABlab(49.56, 52.97, -74.63)
CIE-LCHlch(49.56, 91.51, 305.37°)
OKLaboklab(58.79% 0.0701 -0.2139)
OKLCHoklch(58.79% 0.225 288.1)
XYZxyz(28.7308, 18.0535, 89.9485)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58F7 #D2F758
analogous
#5882F7 #7D58F7 #CC58F7
triadic
#7D58F7 #F77D58 #58F77D
tetradic
#7D58F7 #F75882 #D2F758 #58F7CC
square
#7D58F7 #F75882 #D2F758 #58F7CC
split-complementary
#7D58F7 #F7CC58 #82F758
monochromatic
#370ACB #501EF4 #7D58F7 #AA92FA #D8CDFD

Accessibility & contrast

On white

4.55
#7D58F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7D58F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D58F7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58F7#FFFFFF#000000##000000
##7D58F71.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#0072F4
Tritanopia (blue-blind)
#527FA0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d58f7;
/* rgb */ color: rgb(125, 88, 247);
/* oklch */ color: oklch(58.8% 0.225 288.1);
Tailwind
colors: {
  custom: {
    50: '#ac89fb',
    500: '#7d58f7',
    950: '#000000',
  },
}
SCSS
$custom: #7d58f7;
$custom-light: #ac89fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58f7",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 247
  },
  "hsl": {
    "h": 253.962,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58792,
    "c": 0.22514,
    "h": 288.1
  },
  "luminance": 0.18055
}

Semantic roles & 50–950 ramp

primary
#7D58F7
secondary
#E4F0BB
accent
#E600B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7D58F7

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

Preview Lab → · Contrast checker → · Palette generator →

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