#7C43C4#7C43C4

#7C43C4 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.192 H 300.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7C43C4
RGBrgb(124, 67, 196)
HSLhsl(267, 52%, 52%)
HSVhsv(267, 66%, 77%)
CMYKcmyk(36.7%, 65.8%, 0%, 23.1%)
CIE-LABlab(41.67, 50.22, -58.41)
CIE-LCHlch(41.67, 77.04, 310.69°)
OKLaboklab(51.9% 0.0961 -0.1663)
OKLCHoklch(51.9% 0.192 300)
XYZxyz(20.2807, 12.2847, 53.5166)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C43C4 #8BC443
analogous
#434BC4 #7C43C4 #BD43C4
triadic
#7C43C4 #C47C43 #43C47C
tetradic
#7C43C4 #C4434B #8BC443 #43C4BD
square
#7C43C4 #C4434B #8BC443 #43C4BD
split-complementary
#7C43C4 #C4BD43 #4BC443
monochromatic
#42226B #5F309A #7C43C4 #9C72D3 #BDA0E1

Accessibility & contrast

On white

6.07
#7C43C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7C43C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C43C4
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C43C4#FFFFFF#000000##FFFFFF
##7C43C41.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0061C1
Tritanopia (blue-blind)
#6C607E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7c43c4;
/* rgb */ color: rgb(124, 67, 196);
/* oklch */ color: oklch(51.9% 0.192 300.0);
Tailwind
colors: {
  custom: {
    50: '#a77bd7',
    500: '#7c43c4',
    950: '#000000',
  },
}
SCSS
$custom: #7c43c4;
$custom-light: #a77bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c43c4",
  "rgb": {
    "r": 124,
    "g": 67,
    "b": 196
  },
  "hsl": {
    "h": 266.512,
    "s": 52.227,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51902,
    "c": 0.19204,
    "h": 300
  },
  "luminance": 0.12285
}

Semantic roles & 50–950 ramp

primary
#7C43C4
secondary
#B5CE95
accent
#DC4C9C
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C43C4

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

Preview Lab → · Contrast checker → · Palette generator →

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