#7D58F5#7D58F5

#7D58F5 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.6% C 0.223 H 288.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7D58F5
RGBrgb(125, 88, 245)
HSLhsl(254, 89%, 65%)
HSVhsv(254, 64%, 96%)
CMYKcmyk(49%, 64.1%, 0%, 3.9%)
CIE-LABlab(49.41, 52.41, -73.75)
CIE-LCHlch(49.41, 90.48, 305.40°)
OKLaboklab(58.64% 0.0703 -0.2114)
OKLCHoklch(58.64% 0.223 288.4)
XYZxyz(28.4238, 17.9307, 88.3318)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58F5 #D0F558
analogous
#5881F5 #7D58F5 #CB58F5
triadic
#7D58F5 #F57D58 #58F57D
tetradic
#7D58F5 #F55881 #D0F558 #58F5CB
square
#7D58F5 #F55881 #D0F558 #58F5CB
split-complementary
#7D58F5 #F5CB58 #81F558
monochromatic
#380CC7 #501EF2 #7D58F5 #AA92F8 #D7CBFC

Accessibility & contrast

On white

4.58
#7D58F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7D58F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D58F5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58F5#FFFFFF#000000##000000
##7D58F51.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FA
Deuteranopia (green-blind)
#0071F2
Tritanopia (blue-blind)
#537E9F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d58f5;
/* rgb */ color: rgb(125, 88, 245);
/* oklch */ color: oklch(58.6% 0.223 288.4);
Tailwind
colors: {
  custom: {
    50: '#ac89f9',
    500: '#7d58f5',
    950: '#000000',
  },
}
SCSS
$custom: #7d58f5;
$custom-light: #ac89f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58f5",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 254.14,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58637,
    "c": 0.22278,
    "h": 288.4
  },
  "luminance": 0.17932
}

Semantic roles & 50–950 ramp

primary
#7D58F5
secondary
#E2EFBA
accent
#E500AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D58F5

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

Preview Lab → · Contrast checker → · Palette generator →

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