#7C5CE0#7C5CE0

#7C5CE0 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.6% C 0.192 H 290.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7C5CE0
RGBrgb(124, 92, 224)
HSLhsl(255, 68%, 62%)
HSVhsv(255, 59%, 88%)
CMYKcmyk(44.6%, 58.9%, 0%, 12.2%)
CIE-LABlab(48.66, 44.15, -63.16)
CIE-LCHlch(48.66, 77.06, 304.95°)
OKLaboklab(57.6% 0.0664 -0.1803)
OKLCHoklch(57.6% 0.192 290.2)
XYZxyz(25.5901, 17.3203, 72.5014)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5CE0 #C0E05C
analogous
#5C7EE0 #7C5CE0 #BE5CE0
triadic
#7C5CE0 #E07C5C #5CE07C
tetradic
#7C5CE0 #E05C7E #C0E05C #5CE0BE
square
#7C5CE0 #E05C7E #C0E05C #5CE0BE
split-complementary
#7C5CE0 #E0BE5C #7EE05C
monochromatic
#3F1FA3 #5329D6 #7C5CE0 #A58FEA #CFC3F4

Accessibility & contrast

On white

4.70
#7C5CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7C5CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C5CE0
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5CE0#FFFFFF#000000##FFFFFF
##7C5CE01.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E4
Deuteranopia (green-blind)
#0071DD
Tritanopia (blue-blind)
#5E7A95
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7c5ce0;
/* rgb */ color: rgb(124, 92, 224);
/* oklch */ color: oklch(57.6% 0.192 290.2);
Tailwind
colors: {
  custom: {
    50: '#a88bea',
    500: '#7c5ce0',
    950: '#000000',
  },
}
SCSS
$custom: #7c5ce0;
$custom-light: #a88bea;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5ce0",
  "rgb": {
    "r": 124,
    "g": 92,
    "b": 224
  },
  "hsl": {
    "h": 254.545,
    "s": 68.041,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57599,
    "c": 0.1921,
    "h": 290.2
  },
  "luminance": 0.17321
}

Semantic roles & 50–950 ramp

primary
#7C5CE0
secondary
#D8E4B4
accent
#D016A3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7C5CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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