#7E43BD#7E43BD

#7E43BD is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.184 H 302.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7E43BD
RGBrgb(126, 67, 189)
HSLhsl(269, 48%, 50%)
HSVhsv(269, 65%, 74%)
CMYKcmyk(33.3%, 64.6%, 0%, 25.9%)
CIE-LABlab(41.41, 48.91, -54.73)
CIE-LCHlch(41.41, 73.39, 311.79°)
OKLaboklab(51.62% 0.0995 -0.1554)
OKLCHoklch(51.62% 0.184 302.6)
XYZxyz(19.7945, 12.1240, 49.4316)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E43BD #82BD43
analogous
#4345BD #7E43BD #BB43BD
triadic
#7E43BD #BD7E43 #43BD7E
tetradic
#7E43BD #BD4345 #82BD43 #43BDBB
square
#7E43BD #BD4345 #82BD43 #43BDBB
split-complementary
#7E43BD #BDBB43 #45BD43
monochromatic
#422363 #603390 #7E43BD #9D70CD #BC9EDD

Accessibility & contrast

On white

6.13
#7E43BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E43BD
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E43BD#FFFFFF#000000##FFFFFF
##7E43BD1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#1861BA
Tritanopia (blue-blind)
#715E7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7e43bd;
/* rgb */ color: rgb(126, 67, 189);
/* oklch */ color: oklch(51.6% 0.184 302.6);
Tailwind
colors: {
  custom: {
    50: '#a87bd2',
    500: '#7e43bd',
    950: '#000000',
  },
}
SCSS
$custom: #7e43bd;
$custom-light: #a87bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e43bd",
  "rgb": {
    "r": 126,
    "g": 67,
    "b": 189
  },
  "hsl": {
    "h": 269.016,
    "s": 48.031,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51618,
    "c": 0.18448,
    "h": 302.6
  },
  "luminance": 0.12124
}

Semantic roles & 50–950 ramp

primary
#7E43BD
secondary
#AFC993
accent
#D85096
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E43BD

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

Preview Lab → · Contrast checker → · Palette generator →

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