#7C4BBE#7C4BBE

#7C4BBE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.174 H 300.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7C4BBE
RGBrgb(124, 75, 190)
HSLhsl(266, 47%, 52%)
HSVhsv(266, 61%, 75%)
CMYKcmyk(34.7%, 60.5%, 0%, 25.5%)
CIE-LABlab(42.82, 44.47, -53.06)
CIE-LCHlch(42.82, 69.23, 309.97°)
OKLaboklab(52.61% 0.0873 -0.1506)
OKLCHoklch(52.61% 0.174 300.1)
XYZxyz(20.1203, 13.0348, 50.1612)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4BBE #8DBE4B
analogous
#4B54BE #7C4BBE #B64BBE
triadic
#7C4BBE #BE7C4B #4BBE7C
tetradic
#7C4BBE #BE4B54 #8DBE4B #4BBEB6
square
#7C4BBE #BE4B54 #8DBE4B #4BBEB6
split-complementary
#7C4BBE #BEB64B #54BE4B
monochromatic
#422669 #5F3696 #7C4BBE #9D78CE #BDA5DE

Accessibility & contrast

On white

5.82
#7C4BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7C4BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4BBE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4BBE#FFFFFF#000000##FFFFFF
##7C4BBE1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#2364BB
Tritanopia (blue-blind)
#6E637D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7c4bbe;
/* rgb */ color: rgb(124, 75, 190);
/* oklch */ color: oklch(52.6% 0.174 300.1);
Tailwind
colors: {
  custom: {
    50: '#a67fd2',
    500: '#7c4bbe',
    950: '#000000',
  },
}
SCSS
$custom: #7c4bbe;
$custom-light: #a67fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4bbe",
  "rgb": {
    "r": 124,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 265.565,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52605,
    "c": 0.17403,
    "h": 300.1
  },
  "luminance": 0.13035
}

Semantic roles & 50–950 ramp

primary
#7C4BBE
secondary
#B6CC99
accent
#D7519E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7C4BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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