#7E43BC#7E43BC

#7E43BC is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.183 H 302.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7E43BC
RGBrgb(126, 67, 188)
HSLhsl(269, 47%, 50%)
HSVhsv(269, 64%, 74%)
CMYKcmyk(33%, 64.4%, 0%, 26.3%)
CIE-LABlab(41.34, 48.66, -54.25)
CIE-LCHlch(41.34, 72.88, 311.89°)
OKLaboklab(51.55% 0.0995 -0.154)
OKLCHoklch(51.55% 0.183 302.9)
XYZxyz(19.6863, 12.0808, 48.8619)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E43BC #81BC43
analogous
#4345BC #7E43BC #BA43BC
triadic
#7E43BC #BC7E43 #43BC7E
tetradic
#7E43BC #BC4345 #81BC43 #43BCBA
square
#7E43BC #BC4345 #81BC43 #43BCBA
split-complementary
#7E43BC #BCBA43 #45BC43
monochromatic
#422362 #60338F #7E43BC #9D70CC #BC9DDC

Accessibility & contrast

On white

6.15
#7E43BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7E43BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E43BC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E43BC#FFFFFF#000000##FFFFFF
##7E43BC1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#1A61B9
Tritanopia (blue-blind)
#725D79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7e43bc;
/* rgb */ color: rgb(126, 67, 188);
/* oklch */ color: oklch(51.5% 0.183 302.9);
Tailwind
colors: {
  custom: {
    50: '#a87bd1',
    500: '#7e43bc',
    950: '#000000',
  },
}
SCSS
$custom: #7e43bc;
$custom-light: #a87bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e43bc",
  "rgb": {
    "r": 126,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 269.256,
    "s": 47.451,
    "l": 50
  },
  "oklch": {
    "l": 0.51547,
    "c": 0.18335,
    "h": 302.9
  },
  "luminance": 0.12081
}

Semantic roles & 50–950 ramp

primary
#7E43BC
secondary
#AEC992
accent
#D75196
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7E43BC

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

Preview Lab → · Contrast checker → · Palette generator →

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