#7C4FBE#7C4FBE

#7C4FBE is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.2% C 0.168 H 299.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7C4FBE
RGBrgb(124, 79, 190)
HSLhsl(264, 46%, 53%)
HSVhsv(264, 58%, 75%)
CMYKcmyk(34.7%, 58.4%, 0%, 25.5%)
CIE-LABlab(43.65, 42.27, -51.72)
CIE-LCHlch(43.65, 66.80, 309.26°)
OKLaboklab(53.21% 0.0824 -0.1466)
OKLCHoklch(53.21% 0.168 299.3)
XYZxyz(20.4002, 13.5946, 50.2545)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4FBE #91BE4F
analogous
#4F5ABE #7C4FBE #B34FBE
triadic
#7C4FBE #BE7C4F #4FBE7C
tetradic
#7C4FBE #BE4F5A #91BE4F #4FBEB3
square
#7C4FBE #BE4F5A #91BE4F #4FBEB3
split-complementary
#7C4FBE #BEB34F #5ABE4F
monochromatic
#43286B #5F3898 #7C4FBE #9D7CCF #BFA8DF

Accessibility & contrast

On white

5.65
#7C4FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7C4FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4FBE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4FBE#FFFFFF#000000##FFFFFF
##7C4FBE1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1567C2
Deuteranopia (green-blind)
#2B66BB
Tritanopia (blue-blind)
#6E667F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c4fbe;
/* rgb */ color: rgb(124, 79, 190);
/* oklch */ color: oklch(53.2% 0.168 299.3);
Tailwind
colors: {
  custom: {
    50: '#a682d2',
    500: '#7c4fbe',
    950: '#000000',
  },
}
SCSS
$custom: #7c4fbe;
$custom-light: #a682d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4fbe",
  "rgb": {
    "r": 124,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 264.324,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53211,
    "c": 0.16819,
    "h": 299.3
  },
  "luminance": 0.13595
}

Semantic roles & 50–950 ramp

primary
#7C4FBE
secondary
#B9CC9C
accent
#D652A0
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7C4FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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