#7C5CED#7C5CED

#7C5CED is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.5% C 0.208 H 288.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7C5CED
RGBrgb(124, 92, 237)
HSLhsl(253, 80%, 65%)
HSVhsv(253, 61%, 93%)
CMYKcmyk(47.7%, 61.2%, 0%, 7.1%)
CIE-LABlab(49.56, 47.80, -69.03)
CIE-LCHlch(49.56, 83.97, 304.70°)
OKLaboklab(58.54% 0.0657 -0.1975)
OKLCHoklch(58.54% 0.208 288.4)
XYZxyz(27.4210, 18.0526, 82.1440)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5CED #CDED5C
analogous
#5C85ED #7C5CED #C45CED
triadic
#7C5CED #ED7C5C #5CED7C
tetradic
#7C5CED #ED5C85 #CDED5C #5CEDC4
square
#7C5CED #ED5C85 #CDED5C #5CEDC4
split-complementary
#7C5CED #EDC45C #85ED5C
monochromatic
#3915BA #5025E7 #7C5CED #A893F3 #D5CAF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C5CED#FFFFFF#000000##000000
##7C5CED1.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)
#0079F2
Deuteranopia (green-blind)
#0072EA
Tritanopia (blue-blind)
#567E9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c5ced;
/* rgb */ color: rgb(124, 92, 237);
/* oklch */ color: oklch(58.5% 0.208 288.4);
Tailwind
colors: {
  custom: {
    50: '#aa8cf4',
    500: '#7c5ced',
    950: '#000000',
  },
}
SCSS
$custom: #7c5ced;
$custom-light: #aa8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5ced",
  "rgb": {
    "r": 124,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 253.241,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58541,
    "c": 0.2082,
    "h": 288.4
  },
  "luminance": 0.18054
}

Semantic roles & 50–950 ramp

primary
#7C5CED
secondary
#E0EBB9
accent
#DC09AE
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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