#7F41D1#7F41D1

#7F41D1 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.0% C 0.209 H 298.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7F41D1
RGBrgb(127, 65, 209)
HSLhsl(266, 61%, 54%)
HSVhsv(266, 69%, 82%)
CMYKcmyk(39.2%, 68.9%, 0%, 18%)
CIE-LABlab(42.61, 55.07, -64.40)
CIE-LCHlch(42.61, 84.73, 310.54°)
OKLaboklab(52.95% 0.1005 -0.1838)
OKLCHoklch(52.95% 0.209 298.7)
XYZxyz(22.1484, 12.8958, 61.6315)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F41D1 #93D141
analogous
#414BD1 #7F41D1 #C741D1
triadic
#7F41D1 #D17F41 #41D17F
tetradic
#7F41D1 #D1414B #93D141 #41D1C7
square
#7F41D1 #D1414B #93D141 #41D1C7
split-complementary
#7F41D1 #D1C741 #4BD141
monochromatic
#451E7A #6129AB #7F41D1 #A072DD #C1A4E9

Accessibility & contrast

On white

5.87
#7F41D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7F41D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F41D1
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F41D1#FFFFFF#000000##FFFFFF
##7F41D11.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0063CE
Tritanopia (blue-blind)
#6B6484
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f41d1;
/* rgb */ color: rgb(127, 65, 209);
/* oklch */ color: oklch(53.0% 0.209 298.7);
Tailwind
colors: {
  custom: {
    50: '#aa7ae0',
    500: '#7f41d1',
    950: '#000000',
  },
}
SCSS
$custom: #7f41d1;
$custom-light: #aa7ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f41d1",
  "rgb": {
    "r": 127,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 265.833,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52953,
    "c": 0.20947,
    "h": 298.7
  },
  "luminance": 0.12896
}

Semantic roles & 50–950 ramp

primary
#7F41D1
secondary
#BBD698
accent
#E4449F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F41D1

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

Preview Lab → · Contrast checker → · Palette generator →

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