#7E43C7#7E43C7

#7E43C7 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.196 H 300.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7E43C7
RGBrgb(126, 67, 199)
HSLhsl(267, 54%, 52%)
HSVhsv(267, 66%, 78%)
CMYKcmyk(36.7%, 66.3%, 0%, 22%)
CIE-LABlab(42.11, 51.39, -59.42)
CIE-LCHlch(42.11, 78.56, 310.85°)
OKLaboklab(52.34% 0.0985 -0.1692)
OKLCHoklch(52.34% 0.196 300.2)
XYZxyz(20.9176, 12.5733, 55.3466)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E43C7 #8CC743
analogous
#434AC7 #7E43C7 #C043C7
triadic
#7E43C7 #C77E43 #43C77E
tetradic
#7E43C7 #C7434A #8CC743 #43C7C0
square
#7E43C7 #C7434A #8CC743 #43C7C0
split-complementary
#7E43C7 #C7C043 #4AC743
monochromatic
#44216F #612F9E #7E43C7 #9E72D5 #BFA1E3

Accessibility & contrast

On white

5.98
#7E43C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7E43C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E43C7
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E43C7#FFFFFF#000000##FFFFFF
##7E43C71.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e43c7;
/* rgb */ color: rgb(126, 67, 199);
/* oklch */ color: oklch(52.3% 0.196 300.2);
Tailwind
colors: {
  custom: {
    50: '#a97bd9',
    500: '#7e43c7',
    950: '#000000',
  },
}
SCSS
$custom: #7e43c7;
$custom-light: #a97bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e43c7",
  "rgb": {
    "r": 126,
    "g": 67,
    "b": 199
  },
  "hsl": {
    "h": 266.818,
    "s": 54.098,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52344,
    "c": 0.19574,
    "h": 300.2
  },
  "luminance": 0.12573
}

Semantic roles & 50–950 ramp

primary
#7E43C7
secondary
#B6D096
accent
#DD4A9C
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7E43C7

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

Preview Lab → · Contrast checker → · Palette generator →

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