#7D41D3#7D41D3

#7D41D3 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.211 H 297.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7D41D3
RGBrgb(125, 65, 211)
HSLhsl(265, 62%, 54%)
HSVhsv(265, 69%, 83%)
CMYKcmyk(40.8%, 69.2%, 0%, 17.3%)
CIE-LABlab(42.53, 55.20, -65.69)
CIE-LCHlch(42.53, 85.80, 310.04°)
OKLaboklab(52.89% 0.0974 -0.1876)
OKLCHoklch(52.89% 0.211 297.4)
XYZxyz(22.1026, 12.8433, 62.9299)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41D3 #97D341
analogous
#414ED3 #7D41D3 #C641D3
triadic
#7D41D3 #D37D41 #41D37D
tetradic
#7D41D3 #D3414E #97D341 #41D3C6
square
#7D41D3 #D3414E #97D341 #41D3C6
split-complementary
#7D41D3 #D3C641 #4ED341
monochromatic
#441D7D #5F28AE #7D41D3 #9F73DF #C1A4EA

Accessibility & contrast

On white

5.88
#7D41D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7D41D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41D3
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41D3#FFFFFF#000000##FFFFFF
##7D41D31.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#0063D0
Tritanopia (blue-blind)
#676585
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d41d3;
/* rgb */ color: rgb(125, 65, 211);
/* oklch */ color: oklch(52.9% 0.211 297.4);
Tailwind
colors: {
  custom: {
    50: '#a97ae1',
    500: '#7d41d3',
    950: '#000000',
  },
}
SCSS
$custom: #7d41d3;
$custom-light: #a97ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41d3",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 264.658,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52892,
    "c": 0.21142,
    "h": 297.4
  },
  "luminance": 0.12844
}

Semantic roles & 50–950 ramp

primary
#7D41D3
secondary
#BDD799
accent
#E542A2
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7D41D3

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

Preview Lab → · Contrast checker → · Palette generator →

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