#7C5DF6#7C5DF6

#7C5DF6 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.4% C 0.218 H 287.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7C5DF6
RGBrgb(124, 93, 246)
HSLhsl(252, 89%, 66%)
HSVhsv(252, 62%, 96%)
CMYKcmyk(49.6%, 62.2%, 0%, 3.5%)
CIE-LABlab(50.41, 49.79, -72.69)
CIE-LCHlch(50.41, 88.10, 304.41°)
OKLaboklab(59.36% 0.0641 -0.2083)
OKLCHoklch(59.36% 0.218 287.1)
XYZxyz(28.8562, 18.7663, 89.2727)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5DF6 #D7F65D
analogous
#5D8BF6 #7C5DF6 #C95DF6
triadic
#7C5DF6 #F67C5D #5DF67C
tetradic
#7C5DF6 #F65D8B #D7F65D #5DF6C9
square
#7C5DF6 #F65D8B #D7F65D #5DF6C9
split-complementary
#7C5DF6 #F6C95D #8BF65D
monochromatic
#330BCD #4D23F3 #7C5DF6 #AB97F9 #DAD1FC

Accessibility & contrast

On white

4.42
#7C5DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7C5DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5DF6
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5DF6#FFFFFF#000000##000000
##7C5DF61.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFB
Deuteranopia (green-blind)
#0074F3
Tritanopia (blue-blind)
#5082A1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c5df6;
/* rgb */ color: rgb(124, 93, 246);
/* oklch */ color: oklch(59.4% 0.218 287.1);
Tailwind
colors: {
  custom: {
    50: '#ab8cfa',
    500: '#7c5df6',
    950: '#000000',
  },
}
SCSS
$custom: #7c5df6;
$custom-light: #ab8cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5df6",
  "rgb": {
    "r": 124,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 252.157,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59364,
    "c": 0.21791,
    "h": 287.1
  },
  "luminance": 0.18768
}

Semantic roles & 50–950 ramp

primary
#7C5DF6
secondary
#E6F0BF
accent
#E600B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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