#7C58F5#7C58F5

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

Color values

HEX#7C58F5
RGBrgb(124, 88, 245)
HSLhsl(254, 89%, 65%)
HSVhsv(254, 64%, 96%)
CMYKcmyk(49.4%, 64.1%, 0%, 3.9%)
CIE-LABlab(49.32, 52.24, -73.90)
CIE-LCHlch(49.32, 90.50, 305.25°)
OKLaboklab(58.55% 0.069 -0.2119)
OKLCHoklch(58.55% 0.223 288)
XYZxyz(28.2785, 17.8558, 88.3250)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C58F5 #D1F558
analogous
#5882F5 #7C58F5 #CB58F5
triadic
#7C58F5 #F57C58 #58F57C
tetradic
#7C58F5 #F55882 #D1F558 #58F5CB
square
#7C58F5 #F55882 #D1F558 #58F5CB
split-complementary
#7C58F5 #F5CB58 #82F558
monochromatic
#370CC7 #4F1EF2 #7C58F5 #A992F8 #D7CBFC

Accessibility & contrast

On white

4.59
#7C58F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7C58F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7C58F5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C58F5#FFFFFF#000000##FFFFFF
##7C58F51.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c58f5;
/* rgb */ color: rgb(124, 88, 245);
/* oklch */ color: oklch(58.6% 0.223 288.0);
Tailwind
colors: {
  custom: {
    50: '#ab89f9',
    500: '#7c58f5',
    950: '#000000',
  },
}
SCSS
$custom: #7c58f5;
$custom-light: #ab89f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c58f5",
  "rgb": {
    "r": 124,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 253.758,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.5855,
    "c": 0.22281,
    "h": 288
  },
  "luminance": 0.17857
}

Semantic roles & 50–950 ramp

primary
#7C58F5
secondary
#E3EFBA
accent
#E500B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C58F5

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

Preview Lab → · Contrast checker → · Palette generator →

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