#7D43C4#7D43C4

#7D43C4 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.0% C 0.192 H 300.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7D43C4
RGBrgb(125, 67, 196)
HSLhsl(267, 52%, 52%)
HSVhsv(267, 66%, 77%)
CMYKcmyk(36.2%, 65.8%, 0%, 23.1%)
CIE-LABlab(41.78, 50.43, -58.22)
CIE-LCHlch(41.78, 77.02, 310.90°)
OKLaboklab(52.01% 0.0974 -0.1657)
OKLCHoklch(52.01% 0.192 300.5)
XYZxyz(20.4260, 12.3597, 53.5234)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D43C4 #8AC443
analogous
#434AC4 #7D43C4 #BE43C4
triadic
#7D43C4 #C47D43 #43C47D
tetradic
#7D43C4 #C4434A #8AC443 #43C4BE
square
#7D43C4 #C4434A #8AC443 #43C4BE
split-complementary
#7D43C4 #C4BE43 #4AC443
monochromatic
#43226B #60309A #7D43C4 #9D72D3 #BDA0E1

Accessibility & contrast

On white

6.05
#7D43C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7D43C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D43C4
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D43C4#FFFFFF#000000##FFFFFF
##7D43C41.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#6E607E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7d43c4;
/* rgb */ color: rgb(125, 67, 196);
/* oklch */ color: oklch(52.0% 0.192 300.5);
Tailwind
colors: {
  custom: {
    50: '#a87bd7',
    500: '#7d43c4',
    950: '#000000',
  },
}
SCSS
$custom: #7d43c4;
$custom-light: #a87bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d43c4",
  "rgb": {
    "r": 125,
    "g": 67,
    "b": 196
  },
  "hsl": {
    "h": 266.977,
    "s": 52.227,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.1922,
    "h": 300.5
  },
  "luminance": 0.1236
}

Semantic roles & 50–950 ramp

primary
#7D43C4
secondary
#B4CE95
accent
#DC4C9B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D43C4

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

Preview Lab → · Contrast checker → · Palette generator →

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