#7F41D2#7F41D2

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

Color values

HEX#7F41D2
RGBrgb(127, 65, 210)
HSLhsl(266, 62%, 54%)
HSVhsv(266, 69%, 82%)
CMYKcmyk(39.5%, 69%, 0%, 17.6%)
CIE-LABlab(42.68, 55.32, -64.85)
CIE-LCHlch(42.68, 85.24, 310.47°)
OKLaboklab(53.03% 0.1004 -0.1851)
OKLCHoklch(53.03% 0.211 298.5)
XYZxyz(22.2726, 12.9454, 62.2855)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F41D2 #94D241
analogous
#414CD2 #7F41D2 #C741D2
triadic
#7F41D2 #D27F41 #41D27F
tetradic
#7F41D2 #D2414C #94D241 #41D2C7
square
#7F41D2 #D2414C #94D241 #41D2C7
split-complementary
#7F41D2 #D2C741 #4CD241
monochromatic
#451D7B #6129AD #7F41D2 #A072DE #C2A4E9

Accessibility & contrast

On white

5.85
#7F41D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7F41D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F41D2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F41D2#FFFFFF#000000##FFFFFF
##7F41D21.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#6B6485
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f41d2;
/* rgb */ color: rgb(127, 65, 210);
/* oklch */ color: oklch(53.0% 0.211 298.5);
Tailwind
colors: {
  custom: {
    50: '#aa7ae1',
    500: '#7f41d2',
    950: '#000000',
  },
}
SCSS
$custom: #7f41d2;
$custom-light: #aa7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f41d2",
  "rgb": {
    "r": 127,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 265.655,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5303,
    "c": 0.21056,
    "h": 298.5
  },
  "luminance": 0.12946
}

Semantic roles & 50–950 ramp

primary
#7F41D2
secondary
#BCD698
accent
#E543A0
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7F41D2

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

Preview Lab → · Contrast checker → · Palette generator →

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