#7C49C5#7C49C5

#7C49C5 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.8% C 0.185 H 298.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7C49C5
RGBrgb(124, 73, 197)
HSLhsl(265, 52%, 53%)
HSVhsv(265, 63%, 77%)
CMYKcmyk(37.1%, 62.9%, 0%, 22.7%)
CIE-LABlab(42.89, 47.35, -57.02)
CIE-LCHlch(42.89, 74.12, 309.71°)
OKLaboklab(52.81% 0.0892 -0.1622)
OKLCHoklch(52.81% 0.185 298.8)
XYZxyz(20.7703, 13.0811, 54.2431)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C49C5 #92C549
analogous
#4954C5 #7C49C5 #BA49C5
triadic
#7C49C5 #C57C49 #49C57C
tetradic
#7C49C5 #C54954 #92C549 #49C5BA
square
#7C49C5 #C54954 #92C549 #49C5BA
split-complementary
#7C49C5 #C5BA49 #54C549
monochromatic
#432470 #5F329E #7C49C5 #9D77D4 #BFA6E3

Accessibility & contrast

On white

5.81
#7C49C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7C49C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C49C5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C49C5#FFFFFF#000000##FFFFFF
##7C49C51.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#0D64C2
Tritanopia (blue-blind)
#6B6480
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7c49c5;
/* rgb */ color: rgb(124, 73, 197);
/* oklch */ color: oklch(52.8% 0.185 298.8);
Tailwind
colors: {
  custom: {
    50: '#a77ed7',
    500: '#7c49c5',
    950: '#000000',
  },
}
SCSS
$custom: #7c49c5;
$custom-light: #a77ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c49c5",
  "rgb": {
    "r": 124,
    "g": 73,
    "b": 197
  },
  "hsl": {
    "h": 264.677,
    "s": 51.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52805,
    "c": 0.18514,
    "h": 298.8
  },
  "luminance": 0.13081
}

Semantic roles & 50–950 ramp

primary
#7C49C5
secondary
#BAD09A
accent
#DB4DA1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7C49C5

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

Preview Lab → · Contrast checker → · Palette generator →

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