#7D43C2#7D43C2

#7D43C2 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.190 H 300.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7D43C2
RGBrgb(125, 67, 194)
HSLhsl(267, 51%, 51%)
HSVhsv(267, 65%, 76%)
CMYKcmyk(35.6%, 65.5%, 0%, 23.9%)
CIE-LABlab(41.64, 49.93, -57.28)
CIE-LCHlch(41.64, 75.99, 311.08°)
OKLaboklab(51.87% 0.0976 -0.1629)
OKLCHoklch(51.87% 0.19 300.9)
XYZxyz(20.1999, 12.2692, 52.3325)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D43C2 #88C243
analogous
#4348C2 #7D43C2 #BD43C2
triadic
#7D43C2 #C27D43 #43C27D
tetradic
#7D43C2 #C24348 #88C243 #43C2BD
square
#7D43C2 #C24348 #88C243 #43C2BD
split-complementary
#7D43C2 #C2BD43 #48C243
monochromatic
#422269 #5F3197 #7D43C2 #9D71D1 #BD9FE0

Accessibility & contrast

On white

6.08
#7D43C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7D43C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D43C2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D43C2#FFFFFF#000000##FFFFFF
##7D43C21.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0261BF
Tritanopia (blue-blind)
#6E607D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7d43c2;
/* rgb */ color: rgb(125, 67, 194);
/* oklch */ color: oklch(51.9% 0.190 300.9);
Tailwind
colors: {
  custom: {
    50: '#a87bd5',
    500: '#7d43c2',
    950: '#000000',
  },
}
SCSS
$custom: #7d43c2;
$custom-light: #a87bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d43c2",
  "rgb": {
    "r": 125,
    "g": 67,
    "b": 194
  },
  "hsl": {
    "h": 267.402,
    "s": 51.004,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51866,
    "c": 0.18994,
    "h": 300.9
  },
  "luminance": 0.12269
}

Semantic roles & 50–950 ramp

primary
#7D43C2
secondary
#B3CC94
accent
#DA4D9A
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D43C2

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

Preview Lab → · Contrast checker → · Palette generator →

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