#7D58F1#7D58F1

#7D58F1 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.3% C 0.218 H 288.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7D58F1
RGBrgb(125, 88, 241)
HSLhsl(255, 85%, 65%)
HSVhsv(255, 63%, 95%)
CMYKcmyk(48.1%, 63.5%, 0%, 5.5%)
CIE-LABlab(49.12, 51.30, -71.99)
CIE-LCHlch(49.12, 88.40, 305.47°)
OKLaboklab(58.33% 0.0707 -0.2062)
OKLCHoklch(58.33% 0.218 288.9)
XYZxyz(27.8198, 17.6891, 85.1505)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58F1 #CCF158
analogous
#5880F1 #7D58F1 #CA58F1
triadic
#7D58F1 #F17D58 #58F17D
tetradic
#7D58F1 #F15880 #CCF158 #58F1CA
square
#7D58F1 #F15880 #CCF158 #58F1CA
split-complementary
#7D58F1 #F1CA58 #80F158
monochromatic
#3A10BF #5120EC #7D58F1 #A990F6 #D5C9FA

Accessibility & contrast

On white

4.63
#7D58F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7D58F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58F1
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58F1#FFFFFF#000000##FFFFFF
##7D58F11.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F6
Deuteranopia (green-blind)
#0071EE
Tritanopia (blue-blind)
#567D9D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d58f1;
/* rgb */ color: rgb(125, 88, 241);
/* oklch */ color: oklch(58.3% 0.218 288.9);
Tailwind
colors: {
  custom: {
    50: '#ab89f7',
    500: '#7d58f1',
    950: '#000000',
  },
}
SCSS
$custom: #7d58f1;
$custom-light: #ab89f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58f1",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 241
  },
  "hsl": {
    "h": 254.51,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58331,
    "c": 0.21801,
    "h": 288.9
  },
  "luminance": 0.1769
}

Semantic roles & 50–950 ramp

primary
#7D58F1
secondary
#E0EDB8
accent
#E105AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D58F1

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

Preview Lab → · Contrast checker → · Palette generator →

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