#7E43D1#7E43D1

#7E43D1 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.1% C 0.207 H 298.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7E43D1
RGBrgb(126, 67, 209)
HSLhsl(265, 61%, 54%)
HSVhsv(265, 68%, 82%)
CMYKcmyk(39.7%, 67.9%, 0%, 18%)
CIE-LABlab(42.84, 53.90, -64.02)
CIE-LCHlch(42.84, 83.69, 310.10°)
OKLaboklab(53.1% 0.0971 -0.1827)
OKLCHoklch(53.1% 0.207 298)
XYZxyz(22.1170, 13.0530, 61.6635)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E43D1 #96D143
analogous
#434FD1 #7E43D1 #C543D1
triadic
#7E43D1 #D17E43 #43D17E
tetradic
#7E43D1 #D1434F #96D143 #43D1C5
square
#7E43D1 #D1434F #96D143 #43D1C5
split-complementary
#7E43D1 #D1C543 #4FD143
monochromatic
#451E7B #602AAD #7E43D1 #A074DD #C1A5E9

Accessibility & contrast

On white

5.82
#7E43D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7E43D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E43D1
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E43D1#FFFFFF#000000##FFFFFF
##7E43D11.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#6A6585
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7e43d1;
/* rgb */ color: rgb(126, 67, 209);
/* oklch */ color: oklch(53.1% 0.207 298.0);
Tailwind
colors: {
  custom: {
    50: '#aa7be0',
    500: '#7e43d1',
    950: '#000000',
  },
}
SCSS
$custom: #7e43d1;
$custom-light: #aa7be0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e43d1",
  "rgb": {
    "r": 126,
    "g": 67,
    "b": 209
  },
  "hsl": {
    "h": 264.93,
    "s": 60.684,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53097,
    "c": 0.20691,
    "h": 298
  },
  "luminance": 0.13053
}

Semantic roles & 50–950 ramp

primary
#7E43D1
secondary
#BDD69A
accent
#E444A1
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7E43D1

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

Preview Lab → · Contrast checker → · Palette generator →

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