#7F41CE#7F41CE

#7F41CE is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.7% C 0.206 H 299.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7F41CE
RGBrgb(127, 65, 206)
HSLhsl(266, 59%, 53%)
HSVhsv(266, 68%, 81%)
CMYKcmyk(38.3%, 68.4%, 0%, 19.2%)
CIE-LABlab(42.38, 54.32, -63.03)
CIE-LCHlch(42.38, 83.21, 310.76°)
OKLaboklab(52.72% 0.101 -0.1797)
OKLCHoklch(52.72% 0.206 299.3)
XYZxyz(21.7805, 12.7486, 59.6938)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F41CE #90CE41
analogous
#4149CE #7F41CE #C541CE
triadic
#7F41CE #CE7F41 #41CE7F
tetradic
#7F41CE #CE4149 #90CE41 #41CEC5
square
#7F41CE #CE4149 #90CE41 #41CEC5
split-complementary
#7F41CE #CEC541 #49CE41
monochromatic
#451E76 #612BA7 #7F41CE #A072DB #C1A2E7

Accessibility & contrast

On white

5.92
#7F41CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7F41CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F41CE
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F41CE#FFFFFF#000000##FFFFFF
##7F41CE1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#6D6383
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f41ce;
/* rgb */ color: rgb(127, 65, 206);
/* oklch */ color: oklch(52.7% 0.206 299.3);
Tailwind
colors: {
  custom: {
    50: '#aa7ade',
    500: '#7f41ce',
    950: '#000000',
  },
}
SCSS
$custom: #7f41ce;
$custom-light: #aa7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#7f41ce",
  "rgb": {
    "r": 127,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 266.383,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52723,
    "c": 0.20618,
    "h": 299.3
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

primary
#7F41CE
secondary
#B9D497
accent
#E2469D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F41CE

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

Preview Lab → · Contrast checker → · Palette generator →

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