#7D41FF#7D41FF

#7D41FF is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.5% C 0.259 H 289.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7D41FF
RGBrgb(125, 65, 255)
HSLhsl(259, 100%, 63%)
HSVhsv(259, 75%, 100%)
CMYKcmyk(51%, 74.5%, 0%, 0%)
CIE-LABlab(46.12, 66.47, -84.71)
CIE-LCHlch(46.12, 107.68, 308.12°)
OKLaboklab(56.54% 0.088 -0.2434)
OKLCHoklch(56.54% 0.259 289.9)
XYZxyz(28.3925, 15.3593, 96.0570)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41FF #C3FF41
analogous
#4164FF #7D41FF #DC41FF
triadic
#7D41FF #FF7D41 #41FF7D
tetradic
#7D41FF #FF4164 #C3FF41 #41FFDC
square
#7D41FF #FF4164 #C3FF41 #41FFDC
split-complementary
#7D41FF #FFDC41 #64FF41
monochromatic
#3E00C6 #5304FF #7D41FF #A77EFF #D1BBFF

Accessibility & contrast

On white

5.16
#7D41FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7D41FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41FF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41FF#FFFFFF#000000##FFFFFF
##7D41FF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#0069FB
Tritanopia (blue-blind)
#4D769E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d41ff;
/* rgb */ color: rgb(125, 65, 255);
/* oklch */ color: oklch(56.5% 0.259 289.9);
Tailwind
colors: {
  custom: {
    50: '#ae7cff',
    500: '#7d41ff',
    950: '#000000',
  },
}
SCSS
$custom: #7d41ff;
$custom-light: #ae7cff;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41ff",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 255
  },
  "hsl": {
    "h": 258.947,
    "s": 100,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56542,
    "c": 0.25885,
    "h": 289.9
  },
  "luminance": 0.15361
}

Semantic roles & 50–950 ramp

primary
#7D41FF
secondary
#DBF0AC
accent
#E6009D
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#120A18
muted
#817C86

Preview Lab

Preview with #7D41FF

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

Preview Lab → · Contrast checker → · Palette generator →

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