#7C5DED#7C5DED

#7C5DED is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.7% C 0.207 H 288.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7C5DED
RGBrgb(124, 93, 237)
HSLhsl(253, 80%, 65%)
HSVhsv(253, 61%, 93%)
CMYKcmyk(47.7%, 60.8%, 0%, 7.1%)
CIE-LABlab(49.77, 47.24, -68.69)
CIE-LCHlch(49.77, 83.37, 304.52°)
OKLaboklab(58.69% 0.0647 -0.1965)
OKLCHoklch(58.69% 0.207 288.2)
XYZxyz(27.5082, 18.2270, 82.1731)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5DED #CEED5D
analogous
#5D86ED #7C5DED #C45DED
triadic
#7C5DED #ED7C5D #5DED7C
tetradic
#7C5DED #ED5D86 #CEED5D #5DEDC4
square
#7C5DED #ED5D86 #CEED5D #5DEDC4
split-complementary
#7C5DED #EDC45D #86ED5D
monochromatic
#3915BB #4F26E7 #7C5DED #A994F3 #D5CBF9

Accessibility & contrast

On white

4.52
#7C5DED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7C5DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5DED
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5DED#FFFFFF#000000##000000
##7C5DED1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#0073EA
Tritanopia (blue-blind)
#567F9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c5ded;
/* rgb */ color: rgb(124, 93, 237);
/* oklch */ color: oklch(58.7% 0.207 288.2);
Tailwind
colors: {
  custom: {
    50: '#aa8cf4',
    500: '#7c5ded',
    950: '#000000',
  },
}
SCSS
$custom: #7c5ded;
$custom-light: #aa8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5ded",
  "rgb": {
    "r": 124,
    "g": 93,
    "b": 237
  },
  "hsl": {
    "h": 252.917,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58694,
    "c": 0.20692,
    "h": 288.2
  },
  "luminance": 0.18228
}

Semantic roles & 50–950 ramp

primary
#7C5DED
secondary
#E1ECBA
accent
#DC09AF
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5DED

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

Preview Lab → · Contrast checker → · Palette generator →

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