#7E43C8#7E43C8

#7E43C8 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.4% C 0.197 H 300.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7E43C8
RGBrgb(126, 67, 200)
HSLhsl(267, 55%, 52%)
HSVhsv(267, 67%, 78%)
CMYKcmyk(37%, 66.5%, 0%, 21.6%)
CIE-LABlab(42.18, 51.64, -59.88)
CIE-LCHlch(42.18, 79.07, 310.77°)
OKLaboklab(52.42% 0.0983 -0.1705)
OKLCHoklch(52.42% 0.197 300)
XYZxyz(21.0341, 12.6199, 55.9601)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E43C8 #8DC843
analogous
#434AC8 #7E43C8 #C143C8
triadic
#7E43C8 #C87E43 #43C87E
tetradic
#7E43C8 #C8434A #8DC843 #43C8C1
square
#7E43C8 #C8434A #8DC843 #43C8C1
split-complementary
#7E43C8 #C8C143 #4AC843
monochromatic
#442170 #612F9F #7E43C8 #9E72D6 #BFA2E4

Accessibility & contrast

On white

5.96
#7E43C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7E43C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E43C8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E43C8#FFFFFF#000000##FFFFFF
##7E43C81.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#6D6280
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e43c8;
/* rgb */ color: rgb(126, 67, 200);
/* oklch */ color: oklch(52.4% 0.197 300.0);
Tailwind
colors: {
  custom: {
    50: '#a97bda',
    500: '#7e43c8',
    950: '#000000',
  },
}
SCSS
$custom: #7e43c8;
$custom-light: #a97bda;
$custom-dark: #000000;
JSON
{
  "hex": "#7e43c8",
  "rgb": {
    "r": 126,
    "g": 67,
    "b": 200
  },
  "hsl": {
    "h": 266.617,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52418,
    "c": 0.19686,
    "h": 300
  },
  "luminance": 0.1262
}

Semantic roles & 50–950 ramp

primary
#7E43C8
secondary
#B7D096
accent
#DE4A9C
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7E43C8

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

Preview Lab → · Contrast checker → · Palette generator →

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