#7F41CF#7F41CF

#7F41CF is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.8% C 0.207 H 299.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7F41CF
RGBrgb(127, 65, 207)
HSLhsl(266, 60%, 53%)
HSVhsv(266, 69%, 81%)
CMYKcmyk(38.6%, 68.6%, 0%, 18.8%)
CIE-LABlab(42.46, 54.57, -63.49)
CIE-LCHlch(42.46, 83.72, 310.68°)
OKLaboklab(52.8% 0.1008 -0.1811)
OKLCHoklch(52.8% 0.207 299.1)
XYZxyz(21.9023, 12.7973, 60.3356)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F41CF #91CF41
analogous
#414ACF #7F41CF #C641CF
triadic
#7F41CF #CF7F41 #41CF7F
tetradic
#7F41CF #CF414A #91CF41 #41CFC6
square
#7F41CF #CF414A #91CF41 #41CFC6
split-complementary
#7F41CF #CFC641 #4ACF41
monochromatic
#451E77 #612BA8 #7F41CF #A072DB #C1A3E8

Accessibility & contrast

On white

5.90
#7F41CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7F41CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F41CF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F41CF#FFFFFF#000000##FFFFFF
##7F41CF1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#6C6383
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f41cf;
/* rgb */ color: rgb(127, 65, 207);
/* oklch */ color: oklch(52.8% 0.207 299.1);
Tailwind
colors: {
  custom: {
    50: '#aa7adf',
    500: '#7f41cf',
    950: '#000000',
  },
}
SCSS
$custom: #7f41cf;
$custom-light: #aa7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f41cf",
  "rgb": {
    "r": 127,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 266.197,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.528,
    "c": 0.20728,
    "h": 299.1
  },
  "luminance": 0.12798
}

Semantic roles & 50–950 ramp

primary
#7F41CF
secondary
#BAD497
accent
#E3459E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F41CF

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

Preview Lab → · Contrast checker → · Palette generator →

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