#7E43DC#7E43DC

#7E43DC is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.0% C 0.219 H 295.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7E43DC
RGBrgb(126, 67, 220)
HSLhsl(263, 69%, 56%)
HSVhsv(263, 70%, 86%)
CMYKcmyk(42.7%, 69.5%, 0%, 13.7%)
CIE-LABlab(43.68, 56.70, -68.97)
CIE-LCHlch(43.68, 89.28, 309.43°)
OKLaboklab(53.95% 0.0954 -0.1972)
OKLCHoklch(53.95% 0.219 295.8)
XYZxyz(23.5262, 13.6167, 69.0850)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E43DC #A1DC43
analogous
#4355DC #7E43DC #CB43DC
triadic
#7E43DC #DC7E43 #43DC7E
tetradic
#7E43DC #DC4355 #A1DC43 #43DCCB
square
#7E43DC #DC4355 #A1DC43 #43DCCB
split-complementary
#7E43DC #DCCB43 #55DC43
monochromatic
#451A8B #5F23BE #7E43DC #A177E6 #C5AAEF

Accessibility & contrast

On white

5.64
#7E43DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7E43DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E43DC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E43DC#FFFFFF#000000##FFFFFF
##7E43DC1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E1
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#65698B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e43dc;
/* rgb */ color: rgb(126, 67, 220);
/* oklch */ color: oklch(54.0% 0.219 295.8);
Tailwind
colors: {
  custom: {
    50: '#ab7ce8',
    500: '#7e43dc',
    950: '#000000',
  },
}
SCSS
$custom: #7e43dc;
$custom-light: #ab7ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e43dc",
  "rgb": {
    "r": 126,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 263.137,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.21908,
    "h": 295.8
  },
  "luminance": 0.13617
}

Semantic roles & 50–950 ramp

primary
#7E43DC
secondary
#C5DD9E
accent
#EB3CA8
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E43DC

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

Preview Lab → · Contrast checker → · Palette generator →

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