#7C5EE7#7C5EE7

#7C5EE7 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.198 H 288.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7C5EE7
RGBrgb(124, 94, 231)
HSLhsl(253, 74%, 64%)
HSVhsv(253, 59%, 91%)
CMYKcmyk(46.3%, 59.3%, 0%, 9.4%)
CIE-LABlab(49.57, 44.98, -65.65)
CIE-LCHlch(49.57, 79.58, 304.42°)
OKLaboklab(58.41% 0.064 -0.1876)
OKLCHoklch(58.41% 0.198 288.8)
XYZxyz(26.7346, 18.0590, 77.6629)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5EE7 #C9E75E
analogous
#5E84E7 #7C5EE7 #C05EE7
triadic
#7C5EE7 #E77C5E #5EE77C
tetradic
#7C5EE7 #E75E84 #C9E75E #5EE7C0
square
#7C5EE7 #E75E84 #C9E75E #5EE7C0
split-complementary
#7C5EE7 #E7C05E #84E75E
monochromatic
#3B1AB0 #5129DF #7C5EE7 #A793EF #D3C9F7

Accessibility & contrast

On white

4.55
#7C5EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7C5EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5EE7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5EE7#FFFFFF#000000##000000
##7C5EE71.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#0072E4
Tritanopia (blue-blind)
#5A7D9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c5ee7;
/* rgb */ color: rgb(124, 94, 231);
/* oklch */ color: oklch(58.4% 0.198 288.8);
Tailwind
colors: {
  custom: {
    50: '#a98def',
    500: '#7c5ee7',
    950: '#000000',
  },
}
SCSS
$custom: #7c5ee7;
$custom-light: #a98def;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5ee7",
  "rgb": {
    "r": 124,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 253.139,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58414,
    "c": 0.19818,
    "h": 288.8
  },
  "luminance": 0.1806
}

Semantic roles & 50–950 ramp

primary
#7C5EE7
secondary
#DEE9B8
accent
#D60FAB
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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