#7C5FD6#7C5FD6

#7C5FD6 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.4% C 0.175 H 291.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7C5FD6
RGBrgb(124, 95, 214)
HSLhsl(255, 59%, 61%)
HSVhsv(255, 56%, 84%)
CMYKcmyk(42.1%, 55.6%, 0%, 16.1%)
CIE-LABlab(48.67, 39.65, -57.47)
CIE-LCHlch(48.67, 69.82, 304.60°)
OKLaboklab(57.39% 0.0631 -0.1635)
OKLCHoklch(57.39% 0.175 291.1)
XYZxyz(24.5386, 17.3238, 65.6562)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5FD6 #B9D65F
analogous
#5F7DD6 #7C5FD6 #B75FD6
triadic
#7C5FD6 #D67C5F #5FD67C
tetradic
#7C5FD6 #D65F7D #B9D65F #5FD6B7
square
#7C5FD6 #D65F7D #B9D65F #5FD6B7
split-complementary
#7C5FD6 #D6B75F #7DD65F
monochromatic
#412695 #5633C5 #7C5FD6 #A490E2 #CCC0EF

Accessibility & contrast

On white

4.70
#7C5FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7C5FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C5FD6
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5FD6#FFFFFF#000000##FFFFFF
##7C5FD61.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F76DA
Deuteranopia (green-blind)
#2671D3
Tritanopia (blue-blind)
#637991
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7c5fd6;
/* rgb */ color: rgb(124, 95, 214);
/* oklch */ color: oklch(57.4% 0.175 291.1);
Tailwind
colors: {
  custom: {
    50: '#a78de3',
    500: '#7c5fd6',
    950: '#000000',
  },
}
SCSS
$custom: #7c5fd6;
$custom-light: #a78de3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5fd6",
  "rgb": {
    "r": 124,
    "g": 95,
    "b": 214
  },
  "hsl": {
    "h": 254.622,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57394,
    "c": 0.17528,
    "h": 291.1
  },
  "luminance": 0.17325
}

Semantic roles & 50–950 ramp

primary
#7C5FD6
secondary
#D4DFB2
accent
#C71F9E
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84

Preview Lab

Preview with #7C5FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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