#7C43C8#7C43C8

#7C43C8 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.197 H 299.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7C43C8
RGBrgb(124, 67, 200)
HSLhsl(266, 55%, 52%)
HSVhsv(266, 67%, 78%)
CMYKcmyk(38%, 66.5%, 0%, 21.6%)
CIE-LABlab(41.95, 51.23, -60.27)
CIE-LCHlch(41.95, 79.10, 310.37°)
OKLaboklab(52.2% 0.0956 -0.1718)
OKLCHoklch(52.2% 0.197 299.1)
XYZxyz(20.7421, 12.4693, 55.9464)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C43C8 #8FC843
analogous
#434DC8 #7C43C8 #BE43C8
triadic
#7C43C8 #C87C43 #43C87C
tetradic
#7C43C8 #C8434D #8FC843 #43C8BE
square
#7C43C8 #C8434D #8FC843 #43C8BE
split-complementary
#7C43C8 #C8BE43 #4DC843
monochromatic
#432170 #5F2F9F #7C43C8 #9D72D6 #BEA2E4

Accessibility & contrast

On white

6.01
#7C43C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7C43C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C43C8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C43C8#FFFFFF#000000##FFFFFF
##7C43C81.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#6A6280
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7c43c8;
/* rgb */ color: rgb(124, 67, 200);
/* oklch */ color: oklch(52.2% 0.197 299.1);
Tailwind
colors: {
  custom: {
    50: '#a77bda',
    500: '#7c43c8',
    950: '#000000',
  },
}
SCSS
$custom: #7c43c8;
$custom-light: #a77bda;
$custom-dark: #000000;
JSON
{
  "hex": "#7c43c8",
  "rgb": {
    "r": 124,
    "g": 67,
    "b": 200
  },
  "hsl": {
    "h": 265.714,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52199,
    "c": 0.19656,
    "h": 299.1
  },
  "luminance": 0.1247
}

Semantic roles & 50–950 ramp

primary
#7C43C8
secondary
#B8D096
accent
#DE4A9E
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C43C8

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

Preview Lab → · Contrast checker → · Palette generator →

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