#7D58F0#7D58F0

#7D58F0 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.3% C 0.217 H 289.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7D58F0
RGBrgb(125, 88, 240)
HSLhsl(255, 84%, 64%)
HSVhsv(255, 63%, 94%)
CMYKcmyk(47.9%, 63.3%, 0%, 5.9%)
CIE-LABlab(49.04, 51.02, -71.55)
CIE-LCHlch(49.04, 87.88, 305.49°)
OKLaboklab(58.26% 0.0708 -0.2049)
OKLCHoklch(58.26% 0.217 289.1)
XYZxyz(27.6708, 17.6295, 84.3660)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58F0 #CBF058
analogous
#587FF0 #7D58F0 #C958F0
triadic
#7D58F0 #F07D58 #58F07D
tetradic
#7D58F0 #F0587F #CBF058 #58F0C9
square
#7D58F0 #F0587F #CBF058 #58F0C9
split-complementary
#7D58F0 #F0C958 #7FF058
monochromatic
#3B11BD #5120EB #7D58F0 #A990F5 #D4C8FA

Accessibility & contrast

On white

4.64
#7D58F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7D58F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58F0
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58F0#FFFFFF#000000##FFFFFF
##7D58F01.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F5
Deuteranopia (green-blind)
#0071ED
Tritanopia (blue-blind)
#577D9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d58f0;
/* rgb */ color: rgb(125, 88, 240);
/* oklch */ color: oklch(58.3% 0.217 289.1);
Tailwind
colors: {
  custom: {
    50: '#ab89f6',
    500: '#7d58f0',
    950: '#000000',
  },
}
SCSS
$custom: #7d58f0;
$custom-light: #ab89f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58f0",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 240
  },
  "hsl": {
    "h": 254.605,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58255,
    "c": 0.21681,
    "h": 289.1
  },
  "luminance": 0.17631
}

Semantic roles & 50–950 ramp

primary
#7D58F0
secondary
#DFECB8
accent
#E006AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D58F0

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

Preview Lab → · Contrast checker → · Palette generator →

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