#7D41AF#7D41AF

#7D41AF is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.3% C 0.171 H 306.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7D41AF
RGBrgb(125, 65, 175)
HSLhsl(273, 46%, 47%)
HSVhsv(273, 63%, 69%)
CMYKcmyk(28.6%, 62.9%, 0%, 31.4%)
CIE-LABlab(39.98, 46.31, -48.81)
CIE-LCHlch(39.98, 67.28, 313.49°)
OKLaboklab(50.25% 0.1014 -0.138)
OKLCHoklch(50.25% 0.171 306.3)
XYZxyz(18.0840, 11.2359, 41.7652)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41AF #73AF41
analogous
#4641AF #7D41AF #AF41AA
triadic
#7D41AF #AF7D41 #41AF7D
tetradic
#7D41AF #AF4641 #73AF41 #41AAAF
square
#7D41AF #AF4641 #73AF41 #41AAAF
split-complementary
#7D41AF #AAAF41 #41AF46
monochromatic
#3D2056 #5D3082 #7D41AF #9B67C6 #B893D7

Accessibility & contrast

On white

6.47
#7D41AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7D41AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41AF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41AF#FFFFFF#000000##FFFFFF
##7D41AF1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#2A5FAC
Tritanopia (blue-blind)
#755772
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d41af;
/* rgb */ color: rgb(125, 65, 175);
/* oklch */ color: oklch(50.3% 0.171 306.3);
Tailwind
colors: {
  custom: {
    50: '#a679c7',
    500: '#7d41af',
    950: '#000000',
  },
}
SCSS
$custom: #7d41af;
$custom-light: #a679c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41af",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 272.727,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50253,
    "c": 0.17125,
    "h": 306.3
  },
  "luminance": 0.11236
}

Semantic roles & 50–950 ramp

primary
#7D41AF
secondary
#A3C289
accent
#D5528E
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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