#7D41D2#7D41D2

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

Color values

HEX#7D41D2
RGBrgb(125, 65, 210)
HSLhsl(265, 62%, 54%)
HSVhsv(265, 69%, 82%)
CMYKcmyk(40.5%, 69%, 0%, 17.6%)
CIE-LABlab(42.45, 54.95, -65.24)
CIE-LCHlch(42.45, 85.30, 310.11°)
OKLaboklab(52.81% 0.0976 -0.1863)
OKLCHoklch(52.81% 0.21 297.6)
XYZxyz(21.9776, 12.7933, 62.2717)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41D2 #96D241
analogous
#414ED2 #7D41D2 #C641D2
triadic
#7D41D2 #D27D41 #41D27D
tetradic
#7D41D2 #D2414E #96D241 #41D2C6
square
#7D41D2 #D2414E #96D241 #41D2C6
split-complementary
#7D41D2 #D2C641 #4ED241
monochromatic
#441D7B #6029AD #7D41D2 #9F72DE #C1A4E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D41D2#FFFFFF#000000##FFFFFF
##7D41D21.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)
#0065D6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#686485
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d41d2;
/* rgb */ color: rgb(125, 65, 210);
/* oklch */ color: oklch(52.8% 0.210 297.6);
Tailwind
colors: {
  custom: {
    50: '#a97ae1',
    500: '#7d41d2',
    950: '#000000',
  },
}
SCSS
$custom: #7d41d2;
$custom-light: #a97ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41d2",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 264.828,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52814,
    "c": 0.21033,
    "h": 297.6
  },
  "luminance": 0.12794
}

Semantic roles & 50–950 ramp

primary
#7D41D2
secondary
#BDD698
accent
#E543A2
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7D41D2

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

Preview Lab → · Contrast checker → · Palette generator →

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