#7C4FBF#7C4FBF

#7C4FBF is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.169 H 299.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7C4FBF
RGBrgb(124, 79, 191)
HSLhsl(264, 47%, 53%)
HSVhsv(264, 59%, 75%)
CMYKcmyk(35.1%, 58.6%, 0%, 25.1%)
CIE-LABlab(43.71, 42.53, -52.20)
CIE-LCHlch(43.71, 67.34, 309.17°)
OKLaboklab(53.28% 0.0824 -0.1481)
OKLCHoklch(53.28% 0.169 299.1)
XYZxyz(20.5098, 13.6384, 50.8320)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4FBF #92BF4F
analogous
#4F5ABF #7C4FBF #B44FBF
triadic
#7C4FBF #BF7C4F #4FBF7C
tetradic
#7C4FBF #BF4F5A #92BF4F #4FBFB4
square
#7C4FBF #BF4F5A #92BF4F #4FBFB4
split-complementary
#7C4FBF #BFB44F #5ABF4F
monochromatic
#43276C #5F3899 #7C4FBF #9D7CCF #BFA9E0

Accessibility & contrast

On white

5.63
#7C4FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7C4FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4FBF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4FBF#FFFFFF#000000##FFFFFF
##7C4FBF1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1267C3
Deuteranopia (green-blind)
#2966BC
Tritanopia (blue-blind)
#6D667F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c4fbf;
/* rgb */ color: rgb(124, 79, 191);
/* oklch */ color: oklch(53.3% 0.169 299.1);
Tailwind
colors: {
  custom: {
    50: '#a682d3',
    500: '#7c4fbf',
    950: '#000000',
  },
}
SCSS
$custom: #7c4fbf;
$custom-light: #a682d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4fbf",
  "rgb": {
    "r": 124,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 264.107,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53279,
    "c": 0.16942,
    "h": 299.1
  },
  "luminance": 0.13639
}

Semantic roles & 50–950 ramp

primary
#7C4FBF
secondary
#BACD9D
accent
#D651A1
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7C4FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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