#7C5CD8#7C5CD8

#7C5CD8 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.0% C 0.182 H 291.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7C5CD8
RGBrgb(124, 92, 216)
HSLhsl(255, 61%, 60%)
HSVhsv(255, 57%, 85%)
CMYKcmyk(42.6%, 57.4%, 0%, 15.3%)
CIE-LABlab(48.13, 41.92, -59.48)
CIE-LCHlch(48.13, 72.77, 305.18°)
OKLaboklab(57.04% 0.0666 -0.1694)
OKLCHoklch(57.04% 0.182 291.4)
XYZxyz(24.5306, 16.8965, 66.9213)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5CD8 #B8D85C
analogous
#5C7AD8 #7C5CD8 #BA5CD8
triadic
#7C5CD8 #D87C5C #5CD87C
tetradic
#7C5CD8 #D85C7A #B8D85C #5CD8BA
square
#7C5CD8 #D85C7A #B8D85C #5CD8BA
split-complementary
#7C5CD8 #D8BA5C #7AD85C
monochromatic
#412496 #5730C7 #7C5CD8 #A48DE4 #CBBFF0

Accessibility & contrast

On white

4.80
#7C5CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7C5CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C5CD8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5CD8#FFFFFF#000000##FFFFFF
##7C5CD81.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0974DC
Deuteranopia (green-blind)
#1970D5
Tritanopia (blue-blind)
#627791
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7c5cd8;
/* rgb */ color: rgb(124, 92, 216);
/* oklch */ color: oklch(57.0% 0.182 291.4);
Tailwind
colors: {
  custom: {
    50: '#a88be5',
    500: '#7c5cd8',
    950: '#000000',
  },
}
SCSS
$custom: #7c5cd8;
$custom-light: #a88be5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5cd8",
  "rgb": {
    "r": 124,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 255.484,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5704,
    "c": 0.18204,
    "h": 291.4
  },
  "luminance": 0.16897
}

Semantic roles & 50–950 ramp

primary
#7C5CD8
secondary
#D3E0B0
accent
#C91C9D
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7C5CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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