#7E43C5#7E43C5

#7E43C5 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.193 H 300.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7E43C5
RGBrgb(126, 67, 197)
HSLhsl(267, 53%, 52%)
HSVhsv(267, 66%, 77%)
CMYKcmyk(36%, 66%, 0%, 22.7%)
CIE-LABlab(41.97, 50.89, -58.49)
CIE-LCHlch(41.97, 77.53, 311.02°)
OKLaboklab(52.2% 0.0987 -0.1664)
OKLCHoklch(52.2% 0.193 300.7)
XYZxyz(20.6869, 12.4810, 54.1317)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E43C5 #8AC543
analogous
#4349C5 #7E43C5 #BF43C5
triadic
#7E43C5 #C57E43 #43C57E
tetradic
#7E43C5 #C54349 #8AC543 #43C5BF
square
#7E43C5 #C54349 #8AC543 #43C5BF
split-complementary
#7E43C5 #C5BF43 #49C543
monochromatic
#43216C #60309B #7E43C5 #9E72D3 #BEA1E2

Accessibility & contrast

On white

6.01
#7E43C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7E43C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E43C5
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E43C5#FFFFFF#000000##FFFFFF
##7E43C51.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#6F617E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7e43c5;
/* rgb */ color: rgb(126, 67, 197);
/* oklch */ color: oklch(52.2% 0.193 300.7);
Tailwind
colors: {
  custom: {
    50: '#a97bd7',
    500: '#7e43c5',
    950: '#000000',
  },
}
SCSS
$custom: #7e43c5;
$custom-light: #a97bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e43c5",
  "rgb": {
    "r": 126,
    "g": 67,
    "b": 197
  },
  "hsl": {
    "h": 267.231,
    "s": 52.846,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.19349,
    "h": 300.7
  },
  "luminance": 0.12481
}

Semantic roles & 50–950 ramp

primary
#7E43C5
secondary
#B5CE95
accent
#DC4C9B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7E43C5

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

Preview Lab → · Contrast checker → · Palette generator →

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