#7E43BB#7E43BB

#7E43BB is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.182 H 303.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7E43BB
RGBrgb(126, 67, 187)
HSLhsl(270, 47%, 50%)
HSVhsv(270, 64%, 73%)
CMYKcmyk(32.6%, 64.2%, 0%, 26.7%)
CIE-LABlab(41.28, 48.41, -53.78)
CIE-LCHlch(41.28, 72.36, 312.00°)
OKLaboklab(51.48% 0.0996 -0.1526)
OKLCHoklch(51.48% 0.182 303.1)
XYZxyz(19.5789, 12.0378, 48.2961)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E43BB #80BB43
analogous
#4344BB #7E43BB #BA43BB
triadic
#7E43BB #BB7E43 #43BB7E
tetradic
#7E43BB #BB4344 #80BB43 #43BBBA
square
#7E43BB #BB4344 #80BB43 #43BBBA
split-complementary
#7E43BB #BBBA43 #44BB43
monochromatic
#412361 #60338E #7E43BB #9D70CC #BC9DDC

Accessibility & contrast

On white

6.16
#7E43BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7E43BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E43BB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E43BB#FFFFFF#000000##FFFFFF
##7E43BB1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e43bb;
/* rgb */ color: rgb(126, 67, 187);
/* oklch */ color: oklch(51.5% 0.182 303.1);
Tailwind
colors: {
  custom: {
    50: '#a87bd0',
    500: '#7e43bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e43bb;
$custom-light: #a87bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e43bb",
  "rgb": {
    "r": 126,
    "g": 67,
    "b": 187
  },
  "hsl": {
    "h": 269.5,
    "s": 47.244,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51476,
    "c": 0.18222,
    "h": 303.1
  },
  "luminance": 0.12038
}

Semantic roles & 50–950 ramp

primary
#7E43BB
secondary
#ADC892
accent
#D75195
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7E43BB

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

Preview Lab → · Contrast checker → · Palette generator →

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