#7C43C7#7C43C7

#7C43C7 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.195 H 299.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7C43C7
RGBrgb(124, 67, 199)
HSLhsl(266, 54%, 52%)
HSVhsv(266, 66%, 78%)
CMYKcmyk(37.7%, 66.3%, 0%, 22%)
CIE-LABlab(41.88, 50.98, -59.81)
CIE-LCHlch(41.88, 78.59, 310.44°)
OKLaboklab(52.13% 0.0957 -0.1704)
OKLCHoklch(52.13% 0.195 299.3)
XYZxyz(20.6256, 12.4227, 55.3329)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C43C7 #8EC743
analogous
#434CC7 #7C43C7 #BE43C7
triadic
#7C43C7 #C77C43 #43C77C
tetradic
#7C43C7 #C7434C #8EC743 #43C7BE
square
#7C43C7 #C7434C #8EC743 #43C7BE
split-complementary
#7C43C7 #C7BE43 #4CC743
monochromatic
#43216F #5F2F9E #7C43C7 #9D72D5 #BEA1E3

Accessibility & contrast

On white

6.03
#7C43C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7C43C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C43C7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C43C7#FFFFFF#000000##FFFFFF
##7C43C71.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#6B617F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7c43c7;
/* rgb */ color: rgb(124, 67, 199);
/* oklch */ color: oklch(52.1% 0.195 299.3);
Tailwind
colors: {
  custom: {
    50: '#a77bd9',
    500: '#7c43c7',
    950: '#000000',
  },
}
SCSS
$custom: #7c43c7;
$custom-light: #a77bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c43c7",
  "rgb": {
    "r": 124,
    "g": 67,
    "b": 199
  },
  "hsl": {
    "h": 265.909,
    "s": 54.098,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52125,
    "c": 0.19543,
    "h": 299.3
  },
  "luminance": 0.12423
}

Semantic roles & 50–950 ramp

primary
#7C43C7
secondary
#B7D096
accent
#DD4A9E
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C43C7

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

Preview Lab → · Contrast checker → · Palette generator →

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