#7D41B8#7D41B8

#7D41B8 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.9% C 0.181 H 303.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7D41B8
RGBrgb(125, 65, 184)
HSLhsl(270, 48%, 49%)
HSVhsv(270, 65%, 72%)
CMYKcmyk(32.1%, 64.7%, 0%, 27.8%)
CIE-LABlab(40.58, 48.48, -53.15)
CIE-LCHlch(40.58, 71.94, 312.37°)
OKLaboklab(50.88% 0.1008 -0.1508)
OKLCHoklch(50.88% 0.181 303.8)
XYZxyz(18.9975, 11.6013, 46.5765)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41B8 #7CB841
analogous
#4241B8 #7D41B8 #B841B8
triadic
#7D41B8 #B87D41 #41B87D
tetradic
#7D41B8 #B84241 #7CB841 #41B8B8
square
#7D41B8 #B84241 #7CB841 #41B8B8
split-complementary
#7D41B8 #B8B841 #41B842
monochromatic
#40215E #5E318B #7D41B8 #9C6BCB #BA99DB

Accessibility & contrast

On white

6.32
#7D41B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7D41B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41B8
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41B8#FFFFFF#000000##FFFFFF
##7D41B81.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#1C60B5
Tritanopia (blue-blind)
#725B77
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d41b8;
/* rgb */ color: rgb(125, 65, 184);
/* oklch */ color: oklch(50.9% 0.181 303.8);
Tailwind
colors: {
  custom: {
    50: '#a779ce',
    500: '#7d41b8',
    950: '#000000',
  },
}
SCSS
$custom: #7d41b8;
$custom-light: #a779ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41b8",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 270.252,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50878,
    "c": 0.18138,
    "h": 303.8
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

primary
#7D41B8
secondary
#AAC78E
accent
#D75093
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D41B8

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

Preview Lab → · Contrast checker → · Palette generator →

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