#7E43CF#7E43CF

#7E43CF is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.9% C 0.205 H 298.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7E43CF
RGBrgb(126, 67, 207)
HSLhsl(265, 59%, 54%)
HSVhsv(265, 68%, 81%)
CMYKcmyk(39.1%, 67.6%, 0%, 18.8%)
CIE-LABlab(42.69, 53.40, -63.10)
CIE-LCHlch(42.69, 82.67, 310.24°)
OKLaboklab(52.94% 0.0974 -0.18)
OKLCHoklch(52.94% 0.205 298.4)
XYZxyz(21.8710, 12.9546, 60.3676)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E43CF #94CF43
analogous
#434ECF #7E43CF #C443CF
triadic
#7E43CF #CF7E43 #43CF7E
tetradic
#7E43CF #CF434E #94CF43 #43CFC4
square
#7E43CF #CF434E #94CF43 #43CFC4
split-complementary
#7E43CF #CFC443 #4ECF43
monochromatic
#451F79 #602BAA #7E43CF #9F74DB #C1A5E8

Accessibility & contrast

On white

5.85
#7E43CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7E43CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E43CF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E43CF#FFFFFF#000000##FFFFFF
##7E43CF1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#6B6484
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7e43cf;
/* rgb */ color: rgb(126, 67, 207);
/* oklch */ color: oklch(52.9% 0.205 298.4);
Tailwind
colors: {
  custom: {
    50: '#a97bdf',
    500: '#7e43cf',
    950: '#000000',
  },
}
SCSS
$custom: #7e43cf;
$custom-light: #a97bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e43cf",
  "rgb": {
    "r": 126,
    "g": 67,
    "b": 207
  },
  "hsl": {
    "h": 265.286,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52944,
    "c": 0.20468,
    "h": 298.4
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

primary
#7E43CF
secondary
#BCD599
accent
#E345A0
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7E43CF

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

Preview Lab → · Contrast checker → · Palette generator →

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