#7F41BC#7F41BC

#7F41BC is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.4% C 0.186 H 303.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7F41BC
RGBrgb(127, 65, 188)
HSLhsl(270, 49%, 50%)
HSVhsv(270, 65%, 74%)
CMYKcmyk(32.4%, 65.4%, 0%, 26.3%)
CIE-LABlab(41.09, 49.89, -54.65)
CIE-LCHlch(41.09, 74.00, 312.40°)
OKLaboklab(51.39% 0.1032 -0.1551)
OKLCHoklch(51.39% 0.186 303.6)
XYZxyz(19.7177, 11.9235, 48.8299)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F41BC #7EBC41
analogous
#4141BC #7F41BC #BC41BC
triadic
#7F41BC #BC7F41 #41BC7F
tetradic
#7F41BC #BC4141 #7EBC41 #41BCBC
square
#7F41BC #BC4141 #7EBC41 #41BCBC
split-complementary
#7F41BC #BCBC41 #41BC41
monochromatic
#422261 #60318F #7F41BC #9D6ECD #BC9BDC

Accessibility & contrast

On white

6.20
#7F41BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7F41BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F41BC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F41BC#FFFFFF#000000##FFFFFF
##7F41BC1.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#1761B9
Tritanopia (blue-blind)
#735C79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f41bc;
/* rgb */ color: rgb(127, 65, 188);
/* oklch */ color: oklch(51.4% 0.186 303.6);
Tailwind
colors: {
  custom: {
    50: '#a979d1',
    500: '#7f41bc',
    950: '#000000',
  },
}
SCSS
$custom: #7f41bc;
$custom-light: #a979d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f41bc",
  "rgb": {
    "r": 127,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 270.244,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51393,
    "c": 0.18629,
    "h": 303.6
  },
  "luminance": 0.11923
}

Semantic roles & 50–950 ramp

primary
#7F41BC
secondary
#ACC990
accent
#D85093
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7F41BC

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

Preview Lab → · Contrast checker → · Palette generator →

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