#7E43DB#7E43DB

#7E43DB is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.218 H 296.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7E43DB
RGBrgb(126, 67, 219)
HSLhsl(263, 68%, 56%)
HSVhsv(263, 69%, 86%)
CMYKcmyk(42.5%, 69.4%, 0%, 14.1%)
CIE-LABlab(43.60, 56.45, -68.52)
CIE-LCHlch(43.60, 88.78, 309.48°)
OKLaboklab(53.87% 0.0955 -0.1959)
OKLCHoklch(53.87% 0.218 296)
XYZxyz(23.3941, 13.5639, 68.3896)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E43DB #A0DB43
analogous
#4354DB #7E43DB #CA43DB
triadic
#7E43DB #DB7E43 #43DB7E
tetradic
#7E43DB #DB4354 #A0DB43 #43DBCA
square
#7E43DB #DB4354 #A0DB43 #43DBCA
split-complementary
#7E43DB #DBCA43 #54DB43
monochromatic
#451A89 #5F24BD #7E43DB #A176E5 #C4AAEF

Accessibility & contrast

On white

5.66
#7E43DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7E43DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E43DB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E43DB#FFFFFF#000000##FFFFFF
##7E43DB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E0
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#65698A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e43db;
/* rgb */ color: rgb(126, 67, 219);
/* oklch */ color: oklch(53.9% 0.218 296.0);
Tailwind
colors: {
  custom: {
    50: '#ab7ce7',
    500: '#7e43db',
    950: '#000000',
  },
}
SCSS
$custom: #7e43db;
$custom-light: #ab7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e43db",
  "rgb": {
    "r": 126,
    "g": 67,
    "b": 219
  },
  "hsl": {
    "h": 263.289,
    "s": 67.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53875,
    "c": 0.21797,
    "h": 296
  },
  "luminance": 0.13564
}

Semantic roles & 50–950 ramp

primary
#7E43DB
secondary
#C4DC9E
accent
#EB3DA7
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E43DB

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

Preview Lab → · Contrast checker → · Palette generator →

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