#7C5DEC#7C5DEC

#7C5DEC is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.6% C 0.206 H 288.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7C5DEC
RGBrgb(124, 93, 236)
HSLhsl(253, 79%, 65%)
HSVhsv(253, 61%, 93%)
CMYKcmyk(47.5%, 60.6%, 0%, 7.5%)
CIE-LABlab(49.70, 46.96, -68.25)
CIE-LCHlch(49.70, 82.84, 304.53°)
OKLaboklab(58.62% 0.0648 -0.1952)
OKLCHoklch(58.62% 0.206 288.4)
XYZxyz(27.3625, 18.1688, 81.4058)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5DEC #CDEC5D
analogous
#5D86EC #7C5DEC #C45DEC
triadic
#7C5DEC #EC7C5D #5DEC7C
tetradic
#7C5DEC #EC5D86 #CDEC5D #5DECC4
square
#7C5DEC #EC5D86 #CDEC5D #5DECC4
split-complementary
#7C5DEC #ECC45D #86EC5D
monochromatic
#3916B9 #5026E6 #7C5DEC #A894F2 #D5CBF9

Accessibility & contrast

On white

4.53
#7C5DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7C5DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5DEC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5DEC#FFFFFF#000000##000000
##7C5DEC1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#577E9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c5dec;
/* rgb */ color: rgb(124, 93, 236);
/* oklch */ color: oklch(58.6% 0.206 288.4);
Tailwind
colors: {
  custom: {
    50: '#aa8cf3',
    500: '#7c5dec',
    950: '#000000',
  },
}
SCSS
$custom: #7c5dec;
$custom-light: #aa8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5dec",
  "rgb": {
    "r": 124,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 253.007,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58621,
    "c": 0.20568,
    "h": 288.4
  },
  "luminance": 0.1817
}

Semantic roles & 50–950 ramp

primary
#7C5DEC
secondary
#E0EBBA
accent
#DB0AAE
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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