#7F41D4#7F41D4

#7F41D4 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.2% C 0.213 H 298.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7F41D4
RGBrgb(127, 65, 212)
HSLhsl(265, 63%, 54%)
HSVhsv(265, 69%, 83%)
CMYKcmyk(40.1%, 69.3%, 0%, 16.9%)
CIE-LABlab(42.83, 55.82, -65.76)
CIE-LCHlch(42.83, 86.26, 310.33°)
OKLaboklab(53.19% 0.1 -0.1878)
OKLCHoklch(53.19% 0.213 298)
XYZxyz(22.5233, 13.0457, 63.6060)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F41D4 #96D441
analogous
#414DD4 #7F41D4 #C841D4
triadic
#7F41D4 #D47F41 #41D47F
tetradic
#7F41D4 #D4414D #96D441 #41D4C8
square
#7F41D4 #D4414D #96D441 #41D4C8
split-complementary
#7F41D4 #D4C841 #4DD441
monochromatic
#461D7E #6128B0 #7F41D4 #A173DF #C2A5EB

Accessibility & contrast

On white

5.82
#7F41D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7F41D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F41D4
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F41D4#FFFFFF#000000##FFFFFF
##7F41D41.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#0064D1
Tritanopia (blue-blind)
#6A6586
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f41d4;
/* rgb */ color: rgb(127, 65, 212);
/* oklch */ color: oklch(53.2% 0.213 298.0);
Tailwind
colors: {
  custom: {
    50: '#ab7ae2',
    500: '#7f41d4',
    950: '#000000',
  },
}
SCSS
$custom: #7f41d4;
$custom-light: #ab7ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f41d4",
  "rgb": {
    "r": 127,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 265.306,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53186,
    "c": 0.21275,
    "h": 298
  },
  "luminance": 0.13046
}

Semantic roles & 50–950 ramp

primary
#7F41D4
secondary
#BDD899
accent
#E642A1
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #7F41D4

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

Preview Lab → · Contrast checker → · Palette generator →

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