#7F41D9#7F41D9

#7F41D9 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.6% C 0.218 H 297.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7F41D9
RGBrgb(127, 65, 217)
HSLhsl(264, 67%, 55%)
HSVhsv(264, 70%, 85%)
CMYKcmyk(41.5%, 70%, 0%, 14.9%)
CIE-LABlab(43.21, 57.08, -68.00)
CIE-LCHlch(43.21, 88.78, 310.01°)
OKLaboklab(53.58% 0.0992 -0.1944)
OKLCHoklch(53.58% 0.218 297)
XYZxyz(23.1638, 13.3019, 66.9793)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F41D9 #9BD941
analogous
#414FD9 #7F41D9 #CB41D9
triadic
#7F41D9 #D97F41 #41D97F
tetradic
#7F41D9 #D9414F #9BD941 #41D9CB
square
#7F41D9 #D9414F #9BD941 #41D9CB
split-complementary
#7F41D9 #D9CB41 #4FD941
monochromatic
#461B85 #6125B8 #7F41D9 #A174E3 #C4A7ED

Accessibility & contrast

On white

5.74
#7F41D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7F41D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F41D9
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F41D9#FFFFFF#000000##FFFFFF
##7F41D91.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#686789
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7f41d9;
/* rgb */ color: rgb(127, 65, 217);
/* oklch */ color: oklch(53.6% 0.218 297.0);
Tailwind
colors: {
  custom: {
    50: '#ab7ae6',
    500: '#7f41d9',
    950: '#000000',
  },
}
SCSS
$custom: #7f41d9;
$custom-light: #ab7ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f41d9",
  "rgb": {
    "r": 127,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 264.474,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53577,
    "c": 0.2182,
    "h": 297
  },
  "luminance": 0.13302
}

Semantic roles & 50–950 ramp

primary
#7F41D9
secondary
#C1DB9B
accent
#EA3EA4
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7F41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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