#7C5AF3#7C5AF3

#7C5AF3 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.7% C 0.218 H 288.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7C5AF3
RGBrgb(124, 90, 243)
HSLhsl(253, 86%, 65%)
HSVhsv(253, 63%, 95%)
CMYKcmyk(49%, 63%, 0%, 4.7%)
CIE-LABlab(49.58, 50.59, -72.37)
CIE-LCHlch(49.58, 88.30, 304.96°)
OKLaboklab(58.69% 0.0673 -0.2073)
OKLCHoklch(58.69% 0.218 288)
XYZxyz(28.1413, 18.0672, 86.7812)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5AF3 #D1F35A
analogous
#5A85F3 #7C5AF3 #C85AF3
triadic
#7C5AF3 #F37C5A #5AF37C
tetradic
#7C5AF3 #F35A85 #D1F35A #5AF3C8
square
#7C5AF3 #F35A85 #D1F35A #5AF3C8
split-complementary
#7C5AF3 #F3C85A #85F35A
monochromatic
#370EC4 #4F21EF #7C5AF3 #A993F7 #D7CCFB

Accessibility & contrast

On white

4.55
#7C5AF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7C5AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5AF3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5AF3#FFFFFF#000000##000000
##7C5AF31.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#0072F0
Tritanopia (blue-blind)
#527F9E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c5af3;
/* rgb */ color: rgb(124, 90, 243);
/* oklch */ color: oklch(58.7% 0.218 288.0);
Tailwind
colors: {
  custom: {
    50: '#ab8af8',
    500: '#7c5af3',
    950: '#000000',
  },
}
SCSS
$custom: #7c5af3;
$custom-light: #ab8af8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5af3",
  "rgb": {
    "r": 124,
    "g": 90,
    "b": 243
  },
  "hsl": {
    "h": 253.333,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58689,
    "c": 0.21799,
    "h": 288
  },
  "luminance": 0.18068
}

Semantic roles & 50–950 ramp

primary
#7C5AF3
secondary
#E3EEBB
accent
#E303B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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