#7C58DD#7C58DD

#7C58DD is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.8% C 0.194 H 291.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7C58DD
RGBrgb(124, 88, 221)
HSLhsl(256, 66%, 61%)
HSVhsv(256, 60%, 87%)
CMYKcmyk(43.9%, 60.2%, 0%, 13.3%)
CIE-LABlab(47.60, 45.56, -63.17)
CIE-LCHlch(47.60, 77.89, 305.80°)
OKLaboklab(56.76% 0.0709 -0.1803)
OKLCHoklch(56.76% 0.194 291.5)
XYZxyz(24.8494, 16.4842, 70.2651)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C58DD #B9DD58
analogous
#5876DD #7C58DD #BF58DD
triadic
#7C58DD #DD7C58 #58DD7C
tetradic
#7C58DD #DD5876 #B9DD58 #58DDBF
square
#7C58DD #DD5876 #B9DD58 #58DDBF
split-complementary
#7C58DD #DDBF58 #76DD58
monochromatic
#41209B #562ACE #7C58DD #A48BE7 #CCBEF2

Accessibility & contrast

On white

4.89
#7C58DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7C58DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C58DD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C58DD#FFFFFF#000000##FFFFFF
##7C58DD1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#607692
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c58dd;
/* rgb */ color: rgb(124, 88, 221);
/* oklch */ color: oklch(56.8% 0.194 291.5);
Tailwind
colors: {
  custom: {
    50: '#a889e8',
    500: '#7c58dd',
    950: '#000000',
  },
}
SCSS
$custom: #7c58dd;
$custom-light: #a889e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c58dd",
  "rgb": {
    "r": 124,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 256.241,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56761,
    "c": 0.19374,
    "h": 291.5
  },
  "luminance": 0.16485
}

Semantic roles & 50–950 ramp

primary
#7C58DD
secondary
#D4E2AF
accent
#CE179D
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7C58DD

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

Preview Lab → · Contrast checker → · Palette generator →

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