#7E43A2#7E43A2

#7E43A2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.8% C 0.154 H 310.7°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7E43A2
RGBrgb(126, 67, 162)
HSLhsl(277, 41%, 45%)
HSVhsv(277, 59%, 64%)
CMYKcmyk(22.2%, 58.6%, 0%, 36.5%)
CIE-LABlab(39.68, 42.44, -41.53)
CIE-LCHlch(39.68, 59.38, 315.62°)
OKLaboklab(49.8% 0.1003 -0.1167)
OKLCHoklch(49.8% 0.154 310.7)
XYZxyz(17.1317, 11.0589, 35.4075)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E43A2 #67A243
analogous
#4E43A2 #7E43A2 #A24397
triadic
#7E43A2 #A27E43 #43A27E
tetradic
#7E43A2 #A24E43 #67A243 #4397A2
square
#7E43A2 #A24E43 #67A243 #4397A2
split-complementary
#7E43A2 #97A243 #43A24E
monochromatic
#3B1F4B #5C3177 #7E43A2 #9C64BF #B88FD1

Accessibility & contrast

On white

6.54
#7E43A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7E43A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E43A2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E43A2#FFFFFF#000000##FFFFFF
##7E43A21.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235BA5
Deuteranopia (green-blind)
#3A5FA0
Tritanopia (blue-blind)
#7A546C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e43a2;
/* rgb */ color: rgb(126, 67, 162);
/* oklch */ color: oklch(49.8% 0.154 310.7);
Tailwind
colors: {
  custom: {
    50: '#a67abe',
    500: '#7e43a2',
    950: '#000000',
  },
}
SCSS
$custom: #7e43a2;
$custom-light: #a67abe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e43a2",
  "rgb": {
    "r": 126,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 277.263,
    "s": 41.485,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49804,
    "c": 0.15385,
    "h": 310.7
  },
  "luminance": 0.11059
}

Semantic roles & 50–950 ramp

primary
#7E43A2
secondary
#9ABC85
accent
#D15685
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7E43A2

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

Preview Lab → · Contrast checker → · Palette generator →

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