#7D43C1#7D43C1

#7D43C1 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.189 H 301.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7D43C1
RGBrgb(125, 67, 193)
HSLhsl(268, 50%, 51%)
HSVhsv(268, 65%, 76%)
CMYKcmyk(35.2%, 65.3%, 0%, 24.3%)
CIE-LABlab(41.57, 49.68, -56.81)
CIE-LCHlch(41.57, 75.47, 311.17°)
OKLaboklab(51.79% 0.0977 -0.1615)
OKLCHoklch(51.79% 0.189 301.2)
XYZxyz(20.0879, 12.2244, 51.7430)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D43C1 #87C143
analogous
#4348C1 #7D43C1 #BC43C1
triadic
#7D43C1 #C17D43 #43C17D
tetradic
#7D43C1 #C14348 #87C143 #43C1BC
square
#7D43C1 #C14348 #87C143 #43C1BC
split-complementary
#7D43C1 #C1BC43 #48C143
monochromatic
#422267 #5F3195 #7D43C1 #9D71D0 #BD9FDF

Accessibility & contrast

On white

6.10
#7D43C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D43C1
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D43C1#FFFFFF#000000##FFFFFF
##7D43C11.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#0761BE
Tritanopia (blue-blind)
#6F5F7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7d43c1;
/* rgb */ color: rgb(125, 67, 193);
/* oklch */ color: oklch(51.8% 0.189 301.2);
Tailwind
colors: {
  custom: {
    50: '#a87bd4',
    500: '#7d43c1',
    950: '#000000',
  },
}
SCSS
$custom: #7d43c1;
$custom-light: #a87bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d43c1",
  "rgb": {
    "r": 125,
    "g": 67,
    "b": 193
  },
  "hsl": {
    "h": 267.619,
    "s": 50.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51793,
    "c": 0.18881,
    "h": 301.2
  },
  "luminance": 0.12225
}

Semantic roles & 50–950 ramp

primary
#7D43C1
secondary
#B2CC94
accent
#DA4E99
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D43C1

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

Preview Lab → · Contrast checker → · Palette generator →

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