#7C5CEA#7C5CEA

#7C5CEA is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.3% C 0.205 H 288.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7C5CEA
RGBrgb(124, 92, 234)
HSLhsl(254, 77%, 64%)
HSVhsv(254, 61%, 92%)
CMYKcmyk(47%, 60.7%, 0%, 8.2%)
CIE-LABlab(49.35, 46.95, -67.69)
CIE-LCHlch(49.35, 82.38, 304.75°)
OKLaboklab(58.32% 0.0659 -0.1936)
OKLCHoklch(58.32% 0.205 288.8)
XYZxyz(26.9863, 17.8788, 79.8550)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5CEA #CAEA5C
analogous
#5C83EA #7C5CEA #C35CEA
triadic
#7C5CEA #EA7C5C #5CEA7C
tetradic
#7C5CEA #EA5C83 #CAEA5C #5CEAC3
square
#7C5CEA #EA5C83 #CAEA5C #5CEAC3
split-complementary
#7C5CEA #EAC35C #83EA5C
monochromatic
#3B17B4 #5026E3 #7C5CEA #A892F1 #D3C8F8

Accessibility & contrast

On white

4.59
#7C5CEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7C5CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7C5CEA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5CEA#FFFFFF#000000##FFFFFF
##7C5CEA1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#0072E7
Tritanopia (blue-blind)
#587D9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7c5cea;
/* rgb */ color: rgb(124, 92, 234);
/* oklch */ color: oklch(58.3% 0.205 288.8);
Tailwind
colors: {
  custom: {
    50: '#aa8bf2',
    500: '#7c5cea',
    950: '#000000',
  },
}
SCSS
$custom: #7c5cea;
$custom-light: #aa8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5cea",
  "rgb": {
    "r": 124,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 253.521,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.5832,
    "c": 0.20452,
    "h": 288.8
  },
  "luminance": 0.1788
}

Semantic roles & 50–950 ramp

primary
#7C5CEA
secondary
#DFEAB8
accent
#D90CAB
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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