#7F41C1#7F41C1

#7F41C1 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.8% C 0.192 H 302.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7F41C1
RGBrgb(127, 65, 193)
HSLhsl(269, 51%, 51%)
HSVhsv(269, 66%, 76%)
CMYKcmyk(34.2%, 66.3%, 0%, 24.3%)
CIE-LABlab(41.44, 51.11, -57.01)
CIE-LCHlch(41.44, 76.57, 311.88°)
OKLaboklab(51.75% 0.1027 -0.162)
OKLCHoklch(51.75% 0.192 302.4)
XYZxyz(20.2661, 12.1428, 51.7179)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F41C1 #83C141
analogous
#4143C1 #7F41C1 #BF41C1
triadic
#7F41C1 #C17F41 #41C17F
tetradic
#7F41C1 #C14143 #83C141 #41C1BF
square
#7F41C1 #C14143 #83C141 #41C1BF
split-complementary
#7F41C1 #C1BF41 #43C141
monochromatic
#432166 #613094 #7F41C1 #9E6FD0 #BD9DDF

Accessibility & contrast

On white

6.12
#7F41C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7F41C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F41C1
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F41C1#FFFFFF#000000##FFFFFF
##7F41C11.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#0661BE
Tritanopia (blue-blind)
#725E7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7f41c1;
/* rgb */ color: rgb(127, 65, 193);
/* oklch */ color: oklch(51.8% 0.192 302.4);
Tailwind
colors: {
  custom: {
    50: '#a97ad4',
    500: '#7f41c1',
    950: '#000000',
  },
}
SCSS
$custom: #7f41c1;
$custom-light: #a97ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f41c1",
  "rgb": {
    "r": 127,
    "g": 65,
    "b": 193
  },
  "hsl": {
    "h": 269.063,
    "s": 50.794,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51754,
    "c": 0.19184,
    "h": 302.4
  },
  "luminance": 0.12143
}

Semantic roles & 50–950 ramp

primary
#7F41C1
secondary
#B0CB92
accent
#DA4E96
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F41C1

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

Preview Lab → · Contrast checker → · Palette generator →

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