#7D58FC#7D58FC

#7D58FC is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.2% C 0.231 H 287.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D58FC
RGBrgb(125, 88, 252)
HSLhsl(254, 96%, 67%)
HSVhsv(254, 65%, 99%)
CMYKcmyk(50.4%, 65.1%, 0%, 1.2%)
CIE-LABlab(49.94, 54.37, -76.80)
CIE-LCHlch(49.94, 94.09, 305.30°)
OKLaboklab(59.18% 0.0695 -0.2203)
OKLCHoklch(59.18% 0.231 287.5)
XYZxyz(29.5127, 18.3663, 94.0666)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58FC #D7FC58
analogous
#5885FC #7D58FC #CF58FC
triadic
#7D58FC #FC7D58 #58FC7D
tetradic
#7D58FC #FC5885 #D7FC58 #58FCCF
square
#7D58FC #FC5885 #D7FC58 #58FCCF
split-complementary
#7D58FC #FCCF58 #85FC58
monochromatic
#3304D6 #4E1CFB #7D58FC #AC94FD #DBD0FE

Accessibility & contrast

On white

4.49
#7D58FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#7D58FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D58FC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58FC#FFFFFF#000000##000000
##7D58FC1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0072F9
Tritanopia (blue-blind)
#4E81A3
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d58fc;
/* rgb */ color: rgb(125, 88, 252);
/* oklch */ color: oklch(59.2% 0.231 287.5);
Tailwind
colors: {
  custom: {
    50: '#ad89fe',
    500: '#7d58fc',
    950: '#000000',
  },
}
SCSS
$custom: #7d58fc;
$custom-light: #ad89fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58fc",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 252
  },
  "hsl": {
    "h": 253.537,
    "s": 96.471,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59181,
    "c": 0.23104,
    "h": 287.5
  },
  "luminance": 0.18368
}

Semantic roles & 50–950 ramp

primary
#7D58FC
secondary
#E6F2BD
accent
#E600B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7D58FC

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

Preview Lab → · Contrast checker → · Palette generator →

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