#7C5CEB#7C5CEB

#7C5CEB is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.4% C 0.206 H 288.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7C5CEB
RGBrgb(124, 92, 235)
HSLhsl(253, 78%, 64%)
HSVhsv(253, 61%, 92%)
CMYKcmyk(47.2%, 60.9%, 0%, 7.8%)
CIE-LABlab(49.42, 47.23, -68.14)
CIE-LCHlch(49.42, 82.91, 304.73°)
OKLaboklab(58.39% 0.0659 -0.1949)
OKLCHoklch(58.39% 0.206 288.7)
XYZxyz(27.1304, 17.9364, 80.6137)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5CEB #CBEB5C
analogous
#5C84EB #7C5CEB #C45CEB
triadic
#7C5CEB #EB7C5C #5CEB7C
tetradic
#7C5CEB #EB5C84 #CBEB5C #5CEBC4
square
#7C5CEB #EB5C84 #CBEB5C #5CEBC4
split-complementary
#7C5CEB #EBC45C #84EB5C
monochromatic
#3A16B6 #5025E4 #7C5CEB #A893F2 #D4C9F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C5CEB#FFFFFF#000000##000000
##7C5CEB1.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)
#0079F0
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#577D9B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7c5ceb;
/* rgb */ color: rgb(124, 92, 235);
/* oklch */ color: oklch(58.4% 0.206 288.7);
Tailwind
colors: {
  custom: {
    50: '#aa8bf2',
    500: '#7c5ceb',
    950: '#000000',
  },
}
SCSS
$custom: #7c5ceb;
$custom-light: #aa8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5ceb",
  "rgb": {
    "r": 124,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 253.427,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58394,
    "c": 0.20575,
    "h": 288.7
  },
  "luminance": 0.17938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C5CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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