#7C5CF4#7C5CF4

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

Color values

HEX#7C5CF4
RGBrgb(124, 92, 244)
HSLhsl(253, 87%, 66%)
HSVhsv(253, 62%, 96%)
CMYKcmyk(49.2%, 62.3%, 0%, 4.3%)
CIE-LABlab(50.06, 49.77, -72.14)
CIE-LCHlch(50.06, 87.65, 304.60°)
OKLaboklab(59.06% 0.0652 -0.2067)
OKLCHoklch(59.06% 0.217 287.5)
XYZxyz(28.4637, 18.4697, 87.6356)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5CF4 #D4F45C
analogous
#5C88F4 #7C5CF4 #C85CF4
triadic
#7C5CF4 #F47C5C #5CF47C
tetradic
#7C5CF4 #F45C88 #D4F45C #5CF4C8
square
#7C5CF4 #F45C88 #D4F45C #5CF4C8
split-complementary
#7C5CF4 #F4C85C #88F45C
monochromatic
#350EC8 #4E23F0 #7C5CF4 #AA95F8 #D8CFFC

Accessibility & contrast

On white

4.47
#7C5CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7C5CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5CF4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5CF4#FFFFFF#000000##000000
##7C5CF41.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF9
Deuteranopia (green-blind)
#0073F1
Tritanopia (blue-blind)
#5180A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c5cf4;
/* rgb */ color: rgb(124, 92, 244);
/* oklch */ color: oklch(59.1% 0.217 287.5);
Tailwind
colors: {
  custom: {
    50: '#ab8cf9',
    500: '#7c5cf4',
    950: '#000000',
  },
}
SCSS
$custom: #7c5cf4;
$custom-light: #ab8cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5cf4",
  "rgb": {
    "r": 124,
    "g": 92,
    "b": 244
  },
  "hsl": {
    "h": 252.632,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59063,
    "c": 0.21672,
    "h": 287.5
  },
  "luminance": 0.18471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C5CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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