#7F41D0#7F41D0

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

Color values

HEX#7F41D0
RGBrgb(127, 65, 208)
HSLhsl(266, 60%, 54%)
HSVhsv(266, 69%, 82%)
CMYKcmyk(38.9%, 68.8%, 0%, 18.4%)
CIE-LABlab(42.53, 54.82, -63.94)
CIE-LCHlch(42.53, 84.23, 310.61°)
OKLaboklab(52.88% 0.1007 -0.1824)
OKLCHoklch(52.88% 0.208 298.9)
XYZxyz(22.0250, 12.8464, 60.9815)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F41D0 #92D041
analogous
#414AD0 #7F41D0 #C641D0
triadic
#7F41D0 #D07F41 #41D07F
tetradic
#7F41D0 #D0414A #92D041 #41D0C6
square
#7F41D0 #D0414A #92D041 #41D0C6
split-complementary
#7F41D0 #D0C641 #4AD041
monochromatic
#451E79 #612AAA #7F41D0 #A072DC #C1A3E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F41D0#FFFFFF#000000##FFFFFF
##7F41D01.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)
#0064D4
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#6C6384
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f41d0;
/* rgb */ color: rgb(127, 65, 208);
/* oklch */ color: oklch(52.9% 0.208 298.9);
Tailwind
colors: {
  custom: {
    50: '#aa7adf',
    500: '#7f41d0',
    950: '#000000',
  },
}
SCSS
$custom: #7f41d0;
$custom-light: #aa7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f41d0",
  "rgb": {
    "r": 127,
    "g": 65,
    "b": 208
  },
  "hsl": {
    "h": 266.014,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52876,
    "c": 0.20837,
    "h": 298.9
  },
  "luminance": 0.12847
}

Semantic roles & 50–950 ramp

primary
#7F41D0
secondary
#BAD598
accent
#E3449E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F41D0

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

Preview Lab → · Contrast checker → · Palette generator →

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