#7D58F2#7D58F2

#7D58F2 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.4% C 0.219 H 288.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7D58F2
RGBrgb(125, 88, 242)
HSLhsl(254, 86%, 65%)
HSVhsv(254, 64%, 95%)
CMYKcmyk(48.3%, 63.6%, 0%, 5.1%)
CIE-LABlab(49.19, 51.58, -72.43)
CIE-LCHlch(49.19, 88.92, 305.45°)
OKLaboklab(58.41% 0.0706 -0.2075)
OKLCHoklch(58.41% 0.219 288.8)
XYZxyz(27.9696, 17.7490, 85.9394)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58F2 #CDF258
analogous
#5880F2 #7D58F2 #CA58F2
triadic
#7D58F2 #F27D58 #58F27D
tetradic
#7D58F2 #F25880 #CDF258 #58F2CA
square
#7D58F2 #F25880 #CDF258 #58F2CA
split-complementary
#7D58F2 #F2CA58 #80F258
monochromatic
#3A0FC1 #511FEE #7D58F2 #A991F6 #D5CAFB

Accessibility & contrast

On white

4.62
#7D58F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7D58F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58F2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58F2#FFFFFF#000000##FFFFFF
##7D58F21.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#0071EF
Tritanopia (blue-blind)
#557D9D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d58f2;
/* rgb */ color: rgb(125, 88, 242);
/* oklch */ color: oklch(58.4% 0.219 288.8);
Tailwind
colors: {
  custom: {
    50: '#ab89f7',
    500: '#7d58f2',
    950: '#000000',
  },
}
SCSS
$custom: #7d58f2;
$custom-light: #ab89f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58f2",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 254.416,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58408,
    "c": 0.2192,
    "h": 288.8
  },
  "luminance": 0.1775
}

Semantic roles & 50–950 ramp

primary
#7D58F2
secondary
#E1EDB8
accent
#E203AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D58F2

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

Preview Lab → · Contrast checker → · Palette generator →

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