#7E58BC#7E58BC

#7E58BC is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.7% C 0.152 H 298.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7E58BC
RGBrgb(126, 88, 188)
HSLhsl(263, 43%, 54%)
HSVhsv(263, 53%, 74%)
CMYKcmyk(33%, 53.2%, 0%, 26.3%)
CIE-LABlab(45.70, 37.14, -47.26)
CIE-LCHlch(45.70, 60.11, 308.17°)
OKLaboklab(54.73% 0.0734 -0.1335)
OKLCHoklch(54.73% 0.152 298.8)
XYZxyz(21.1688, 15.0457, 49.3560)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E58BC #96BC58
analogous
#5864BC #7E58BC #B058BC
triadic
#7E58BC #BC7E58 #58BC7E
tetradic
#7E58BC #BC5864 #96BC58 #58BCB0
square
#7E58BC #BC5864 #96BC58 #58BCB0
split-complementary
#7E58BC #BCB058 #64BC58
monochromatic
#452C6E #603E99 #7E58BC #A084CE #C1AFDF

Accessibility & contrast

On white

5.24
#7E58BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7E58BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E58BC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E58BC#FFFFFF#000000##FFFFFF
##7E58BC1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326CBF
Deuteranopia (green-blind)
#3D6BBA
Tritanopia (blue-blind)
#716C81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e58bc;
/* rgb */ color: rgb(126, 88, 188);
/* oklch */ color: oklch(54.7% 0.152 298.8);
Tailwind
colors: {
  custom: {
    50: '#a788d1',
    500: '#7e58bc',
    950: '#000000',
  },
}
SCSS
$custom: #7e58bc;
$custom-light: #a788d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e58bc",
  "rgb": {
    "r": 126,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 262.8,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54732,
    "c": 0.15238,
    "h": 298.8
  },
  "luminance": 0.15046
}

Semantic roles & 50–950 ramp

primary
#7E58BC
secondary
#BDCDA3
accent
#D355A3
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7E58BC

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

Preview Lab → · Contrast checker → · Palette generator →

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