#7C5ABE#7C5ABE

#7C5ABE is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.0% C 0.152 H 296.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7C5ABE
RGBrgb(124, 90, 190)
HSLhsl(260, 43%, 55%)
HSVhsv(260, 53%, 75%)
CMYKcmyk(34.7%, 52.6%, 0%, 25.5%)
CIE-LABlab(46.06, 36.00, -47.85)
CIE-LCHlch(46.06, 59.88, 306.96°)
OKLaboklab(54.99% 0.0684 -0.1353)
OKLCHoklch(54.99% 0.152 296.8)
XYZxyz(21.2603, 15.3148, 50.5412)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5ABE #9CBE5A
analogous
#5A6ABE #7C5ABE #AE5ABE
triadic
#7C5ABE #BE7C5A #5ABE7C
tetradic
#7C5ABE #BE5A6A #9CBE5A #5ABEAE
square
#7C5ABE #BE5A6A #9CBE5A #5ABEAE
split-complementary
#7C5ABE #BEAE5A #6ABE5A
monochromatic
#442D71 #5E3E9D #7C5ABE #9F86CF #C2B2E1

Accessibility & contrast

On white

5.17
#7C5ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7C5ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C5ABE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5ABE#FFFFFF#000000##FFFFFF
##7C5ABE1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC1
Deuteranopia (green-blind)
#3C6CBC
Tritanopia (blue-blind)
#6D6E83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c5abe;
/* rgb */ color: rgb(124, 90, 190);
/* oklch */ color: oklch(55.0% 0.152 296.8);
Tailwind
colors: {
  custom: {
    50: '#a589d2',
    500: '#7c5abe',
    950: '#000000',
  },
}
SCSS
$custom: #7c5abe;
$custom-light: #a589d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5abe",
  "rgb": {
    "r": 124,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 260.4,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54993,
    "c": 0.15158,
    "h": 296.8
  },
  "luminance": 0.15315
}

Semantic roles & 50–950 ramp

primary
#7C5ABE
secondary
#C1CFA5
accent
#D355A8
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7C5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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