#7C4CDD#7C4CDD

#7C4CDD is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.0% C 0.209 H 293.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7C4CDD
RGBrgb(124, 76, 221)
HSLhsl(260, 68%, 58%)
HSVhsv(260, 66%, 87%)
CMYKcmyk(43.9%, 65.6%, 0%, 13.3%)
CIE-LABlab(45.18, 52.06, -67.09)
CIE-LCHlch(45.18, 84.92, 307.81°)
OKLaboklab(55.01% 0.0836 -0.1918)
OKLCHoklch(55.01% 0.209 293.5)
XYZxyz(23.9442, 14.6737, 69.9633)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4CDD #ADDD4C
analogous
#4C64DD #7C4CDD #C44CDD
triadic
#7C4CDD #DD7C4C #4CDD7C
tetradic
#7C4CDD #DD4C64 #ADDD4C #4CDDC4
square
#7C4CDD #DD4C64 #ADDD4C #4CDDC4
split-complementary
#7C4CDD #DDC44C #64DD4C
monochromatic
#431C93 #5B26C6 #7C4CDD #A27FE7 #C7B3F1

Accessibility & contrast

On white

5.34
#7C4CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7C4CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4CDD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4CDD#FFFFFF#000000##FFFFFF
##7C4CDD1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE1
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#606F8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7c4cdd;
/* rgb */ color: rgb(124, 76, 221);
/* oklch */ color: oklch(55.0% 0.209 293.5);
Tailwind
colors: {
  custom: {
    50: '#a981e9',
    500: '#7c4cdd',
    950: '#000000',
  },
}
SCSS
$custom: #7c4cdd;
$custom-light: #a981e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4cdd",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 259.862,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55006,
    "c": 0.20927,
    "h": 293.5
  },
  "luminance": 0.14674
}

Semantic roles & 50–950 ramp

primary
#7C4CDD
secondary
#CCDFA6
accent
#EB3DB1
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C4CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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