#7C5DF7#7C5DF7

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

Color values

HEX#7C5DF7
RGBrgb(124, 93, 247)
HSLhsl(252, 91%, 67%)
HSVhsv(252, 62%, 97%)
CMYKcmyk(49.8%, 62.3%, 0%, 3.1%)
CIE-LABlab(50.49, 50.07, -73.13)
CIE-LCHlch(50.49, 88.63, 304.40°)
OKLaboklab(59.44% 0.064 -0.2096)
OKLCHoklch(59.44% 0.219 287)
XYZxyz(29.0101, 18.8278, 90.0832)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5DF7 #D8F75D
analogous
#5D8BF7 #7C5DF7 #C95DF7
triadic
#7C5DF7 #F77C5D #5DF77C
tetradic
#7C5DF7 #F75D8B #D8F75D #5DF7C9
square
#7C5DF7 #F75D8B #D8F75D #5DF7C9
split-complementary
#7C5DF7 #F7C95D #8BF75D
monochromatic
#320ACF #4D23F4 #7C5DF7 #AB97FA #DAD2FD

Accessibility & contrast

On white

4.41
#7C5DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7C5DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5DF7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5DF7#FFFFFF#000000##000000
##7C5DF71.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFC
Deuteranopia (green-blind)
#0074F4
Tritanopia (blue-blind)
#4F82A2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c5df7;
/* rgb */ color: rgb(124, 93, 247);
/* oklch */ color: oklch(59.4% 0.219 287.0);
Tailwind
colors: {
  custom: {
    50: '#ab8cfb',
    500: '#7c5df7',
    950: '#000000',
  },
}
SCSS
$custom: #7c5df7;
$custom-light: #ab8cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5df7",
  "rgb": {
    "r": 124,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 252.078,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.5944,
    "c": 0.21912,
    "h": 287
  },
  "luminance": 0.18829
}

Semantic roles & 50–950 ramp

primary
#7C5DF7
secondary
#E7F1BF
accent
#E600B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7C5DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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