#7C4FBD#7C4FBD

#7C4FBD is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.1% C 0.167 H 299.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7C4FBD
RGBrgb(124, 79, 189)
HSLhsl(265, 45%, 53%)
HSVhsv(265, 58%, 74%)
CMYKcmyk(34.4%, 58.2%, 0%, 25.9%)
CIE-LABlab(43.58, 42.01, -51.24)
CIE-LCHlch(43.58, 66.26, 309.35°)
OKLaboklab(53.14% 0.0824 -0.1452)
OKLCHoklch(53.14% 0.167 299.6)
XYZxyz(20.2912, 13.5510, 49.6808)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4FBD #90BD4F
analogous
#4F59BD #7C4FBD #B34FBD
triadic
#7C4FBD #BD7C4F #4FBD7C
tetradic
#7C4FBD #BD4F59 #90BD4F #4FBDB3
square
#7C4FBD #BD4F59 #90BD4F #4FBDB3
split-complementary
#7C4FBD #BDB34F #59BD4F
monochromatic
#43286A #5F3896 #7C4FBD #9D7CCE #BEA8DE

Accessibility & contrast

On white

5.66
#7C4FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7C4FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4FBD
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4FBD#FFFFFF#000000##FFFFFF
##7C4FBD1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C1
Deuteranopia (green-blind)
#2C66BB
Tritanopia (blue-blind)
#6E667E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c4fbd;
/* rgb */ color: rgb(124, 79, 189);
/* oklch */ color: oklch(53.1% 0.167 299.6);
Tailwind
colors: {
  custom: {
    50: '#a682d1',
    500: '#7c4fbd',
    950: '#000000',
  },
}
SCSS
$custom: #7c4fbd;
$custom-light: #a682d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4fbd",
  "rgb": {
    "r": 124,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 264.545,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53144,
    "c": 0.16697,
    "h": 299.6
  },
  "luminance": 0.13551
}

Semantic roles & 50–950 ramp

primary
#7C4FBD
secondary
#B8CC9C
accent
#D553A0
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7C4FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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