#7E43D2#7E43D2

#7E43D2 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.2% C 0.208 H 297.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7E43D2
RGBrgb(126, 67, 210)
HSLhsl(265, 61%, 54%)
HSVhsv(265, 68%, 82%)
CMYKcmyk(40%, 68.1%, 0%, 17.6%)
CIE-LABlab(42.92, 54.16, -64.47)
CIE-LCHlch(42.92, 84.20, 310.03°)
OKLaboklab(53.17% 0.097 -0.184)
OKLCHoklch(53.17% 0.208 297.8)
XYZxyz(22.2412, 13.1027, 62.3176)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E43D2 #97D243
analogous
#4350D2 #7E43D2 #C543D2
triadic
#7E43D2 #D27E43 #43D27E
tetradic
#7E43D2 #D24350 #97D243 #43D2C5
square
#7E43D2 #D24350 #97D243 #43D2C5
split-complementary
#7E43D2 #D2C543 #50D243
monochromatic
#451E7D #602AAE #7E43D2 #A074DE #C2A6EA

Accessibility & contrast

On white

5.80
#7E43D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7E43D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E43D2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E43D2#FFFFFF#000000##FFFFFF
##7E43D21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#696585
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7e43d2;
/* rgb */ color: rgb(126, 67, 210);
/* oklch */ color: oklch(53.2% 0.208 297.8);
Tailwind
colors: {
  custom: {
    50: '#aa7be1',
    500: '#7e43d2',
    950: '#000000',
  },
}
SCSS
$custom: #7e43d2;
$custom-light: #aa7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e43d2",
  "rgb": {
    "r": 126,
    "g": 67,
    "b": 210
  },
  "hsl": {
    "h": 264.755,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53174,
    "c": 0.20802,
    "h": 297.8
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

primary
#7E43D2
secondary
#BED79A
accent
#E443A2
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7E43D2

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

Preview Lab → · Contrast checker → · Palette generator →

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