#7F41DA#7F41DA

#7F41DA is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.7% C 0.219 H 296.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7F41DA
RGBrgb(127, 65, 218)
HSLhsl(264, 67%, 55%)
HSVhsv(264, 70%, 85%)
CMYKcmyk(41.7%, 70.2%, 0%, 14.5%)
CIE-LABlab(43.29, 57.33, -68.45)
CIE-LCHlch(43.29, 89.29, 309.95°)
OKLaboklab(53.66% 0.099 -0.1957)
OKLCHoklch(53.66% 0.219 296.8)
XYZxyz(23.2943, 13.3541, 67.6664)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F41DA #9CDA41
analogous
#414FDA #7F41DA #CC41DA
triadic
#7F41DA #DA7F41 #41DA7F
tetradic
#7F41DA #DA414F #9CDA41 #41DACC
square
#7F41DA #DA414F #9CDA41 #41DACC
split-complementary
#7F41DA #DACC41 #4FDA41
monochromatic
#461A86 #6124BA #7F41DA #A274E4 #C4A7EE

Accessibility & contrast

On white

5.72
#7F41DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7F41DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F41DA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F41DA#FFFFFF#000000##FFFFFF
##7F41DA1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f41da;
/* rgb */ color: rgb(127, 65, 218);
/* oklch */ color: oklch(53.7% 0.219 296.8);
Tailwind
colors: {
  custom: {
    50: '#ab7ae6',
    500: '#7f41da',
    950: '#000000',
  },
}
SCSS
$custom: #7f41da;
$custom-light: #ab7ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f41da",
  "rgb": {
    "r": 127,
    "g": 65,
    "b": 218
  },
  "hsl": {
    "h": 264.314,
    "s": 67.401,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53656,
    "c": 0.21928,
    "h": 296.8
  },
  "luminance": 0.13355
}

Semantic roles & 50–950 ramp

primary
#7F41DA
secondary
#C1DB9C
accent
#EA3EA4
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7F41DA

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

Preview Lab → · Contrast checker → · Palette generator →

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