#7C4FD9#7C4FD9

#7C4FD9 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.1% C 0.201 H 293.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7C4FD9
RGBrgb(124, 79, 217)
HSLhsl(260, 64%, 58%)
HSVhsv(260, 64%, 85%)
CMYKcmyk(42.9%, 63.6%, 0%, 14.9%)
CIE-LABlab(45.48, 49.40, -64.34)
CIE-LCHlch(45.48, 81.12, 307.52°)
OKLaboklab(55.13% 0.0809 -0.1837)
OKLCHoklch(55.13% 0.201 293.8)
XYZxyz(23.6292, 14.8862, 67.2605)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4FD9 #ACD94F
analogous
#4F67D9 #7C4FD9 #C14FD9
triadic
#7C4FD9 #D97C4F #4FD97C
tetradic
#7C4FD9 #D94F67 #ACD94F #4FD9C1
square
#7C4FD9 #D94F67 #ACD94F #4FD9C1
split-complementary
#7C4FD9 #D9C14F #67D94F
monochromatic
#431F8F #5B2AC1 #7C4FD9 #A181E4 #C7B4EF

Accessibility & contrast

On white

5.28
#7C4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7C4FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4FD9
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4FD9#FFFFFF#000000##FFFFFF
##7C4FD91.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#626F8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c4fd9;
/* rgb */ color: rgb(124, 79, 217);
/* oklch */ color: oklch(55.1% 0.201 293.8);
Tailwind
colors: {
  custom: {
    50: '#a883e6',
    500: '#7c4fd9',
    950: '#000000',
  },
}
SCSS
$custom: #7c4fd9;
$custom-light: #a883e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4fd9",
  "rgb": {
    "r": 124,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 259.565,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55127,
    "c": 0.20076,
    "h": 293.8
  },
  "luminance": 0.14887
}

Semantic roles & 50–950 ramp

primary
#7C4FD9
secondary
#CBDDA6
accent
#E740B1
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7C4FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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