#7C5EE5#7C5EE5

#7C5EE5 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.3% C 0.196 H 289.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7C5EE5
RGBrgb(124, 94, 229)
HSLhsl(253, 72%, 63%)
HSVhsv(253, 59%, 90%)
CMYKcmyk(45.9%, 59%, 0%, 10.2%)
CIE-LABlab(49.43, 44.42, -64.74)
CIE-LCHlch(49.43, 78.52, 304.45°)
OKLaboklab(58.27% 0.064 -0.1849)
OKLCHoklch(58.27% 0.196 289.1)
XYZxyz(26.4537, 17.9466, 76.1837)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5EE5 #C7E55E
analogous
#5E83E5 #7C5EE5 #BF5EE5
triadic
#7C5EE5 #E57C5E #5EE57C
tetradic
#7C5EE5 #E55E83 #C7E55E #5EE5BF
square
#7C5EE5 #E55E83 #C7E55E #5EE5BF
split-complementary
#7C5EE5 #E5BF5E #83E55E
monochromatic
#3C1CAD #5129DC #7C5EE5 #A793EE #D2C7F6

Accessibility & contrast

On white

4.58
#7C5EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7C5EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5EE5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5EE5#FFFFFF#000000##000000
##7C5EE51.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#5B7D99
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7c5ee5;
/* rgb */ color: rgb(124, 94, 229);
/* oklch */ color: oklch(58.3% 0.196 289.1);
Tailwind
colors: {
  custom: {
    50: '#a98dee',
    500: '#7c5ee5',
    950: '#000000',
  },
}
SCSS
$custom: #7c5ee5;
$custom-light: #a98dee;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5ee5",
  "rgb": {
    "r": 124,
    "g": 94,
    "b": 229
  },
  "hsl": {
    "h": 253.333,
    "s": 72.193,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58271,
    "c": 0.19569,
    "h": 289.1
  },
  "luminance": 0.17948
}

Semantic roles & 50–950 ramp

primary
#7C5EE5
secondary
#DDE7B7
accent
#D411A9
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7C5EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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