#7C5DF3#7C5DF3

#7C5DF3 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.1% C 0.214 H 287.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7C5DF3
RGBrgb(124, 93, 243)
HSLhsl(252, 86%, 66%)
HSVhsv(252, 62%, 95%)
CMYKcmyk(49%, 61.7%, 0%, 4.7%)
CIE-LABlab(50.20, 48.94, -71.36)
CIE-LCHlch(50.20, 86.53, 304.44°)
OKLaboklab(59.14% 0.0643 -0.2044)
OKLCHoklch(59.14% 0.214 287.5)
XYZxyz(28.3995, 18.5836, 86.8672)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5DF3 #D4F35D
analogous
#5D89F3 #7C5DF3 #C75DF3
triadic
#7C5DF3 #F37C5D #5DF37C
tetradic
#7C5DF3 #F35D89 #D4F35D #5DF3C7
square
#7C5DF3 #F35D89 #D4F35D #5DF3C7
split-complementary
#7C5DF3 #F3C75D #89F35D
monochromatic
#350FC7 #4E24EF #7C5DF3 #AA96F7 #D8CFFB

Accessibility & contrast

On white

4.45
#7C5DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7C5DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5DF3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5DF3#FFFFFF#000000##000000
##7C5DF31.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#0073F0
Tritanopia (blue-blind)
#52819F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c5df3;
/* rgb */ color: rgb(124, 93, 243);
/* oklch */ color: oklch(59.1% 0.214 287.5);
Tailwind
colors: {
  custom: {
    50: '#ab8cf8',
    500: '#7c5df3',
    950: '#000000',
  },
}
SCSS
$custom: #7c5df3;
$custom-light: #ab8cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5df3",
  "rgb": {
    "r": 124,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 252.4,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59139,
    "c": 0.21427,
    "h": 287.5
  },
  "luminance": 0.18585
}

Semantic roles & 50–950 ramp

primary
#7C5DF3
secondary
#E4EFBD
accent
#E303B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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