#7C58DF#7C58DF

#7C58DF is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.9% C 0.196 H 291.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7C58DF
RGBrgb(124, 88, 223)
HSLhsl(256, 68%, 61%)
HSVhsv(256, 61%, 87%)
CMYKcmyk(44.4%, 60.5%, 0%, 12.5%)
CIE-LABlab(47.74, 46.11, -64.08)
CIE-LCHlch(47.74, 78.95, 305.74°)
OKLaboklab(56.9% 0.0708 -0.183)
OKLCHoklch(56.9% 0.196 291.2)
XYZxyz(25.1175, 16.5914, 71.6768)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C58DF #BBDF58
analogous
#5877DF #7C58DF #BF58DF
triadic
#7C58DF #DF7C58 #58DF7C
tetradic
#7C58DF #DF5877 #BBDF58 #58DFBF
square
#7C58DF #DF5877 #BBDF58 #58DFBF
split-complementary
#7C58DF #DFBF58 #77DF58
monochromatic
#401E9E #5528D2 #7C58DF #A48BE9 #CDBFF3

Accessibility & contrast

On white

4.86
#7C58DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7C58DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C58DF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C58DF#FFFFFF#000000##FFFFFF
##7C58DF1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#5F7793
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c58df;
/* rgb */ color: rgb(124, 88, 223);
/* oklch */ color: oklch(56.9% 0.196 291.2);
Tailwind
colors: {
  custom: {
    50: '#a989ea',
    500: '#7c58df',
    950: '#000000',
  },
}
SCSS
$custom: #7c58df;
$custom-light: #a989ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7c58df",
  "rgb": {
    "r": 124,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 256,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56905,
    "c": 0.19621,
    "h": 291.2
  },
  "luminance": 0.16592
}

Semantic roles & 50–950 ramp

primary
#7C58DF
secondary
#D5E3B0
accent
#D0169E
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7C58DF

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

Preview Lab → · Contrast checker → · Palette generator →

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