#7D41C0#7D41C0

#7D41C0 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.190 H 301.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7D41C0
RGBrgb(125, 65, 192)
HSLhsl(268, 50%, 50%)
HSVhsv(268, 66%, 75%)
CMYKcmyk(34.9%, 66.1%, 0%, 24.7%)
CIE-LABlab(41.13, 50.45, -56.94)
CIE-LCHlch(41.13, 76.07, 311.54°)
OKLaboklab(51.45% 0.1001 -0.1619)
OKLCHoklch(51.45% 0.19 301.7)
XYZxyz(19.8599, 11.9463, 51.1185)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41C0 #84C041
analogous
#4144C0 #7D41C0 #BC41C0
triadic
#7D41C0 #C07D41 #41C07D
tetradic
#7D41C0 #C04144 #84C041 #41C0BC
square
#7D41C0 #C04144 #84C041 #41C0BC
split-complementary
#7D41C0 #C0BC41 #44C041
monochromatic
#412265 #5F3193 #7D41C0 #9C6FCF #BC9DDE

Accessibility & contrast

On white

6.20
#7D41C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7D41C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41C0
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41C0#FFFFFF#000000##FFFFFF
##7D41C01.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#0260BD
Tritanopia (blue-blind)
#6F5E7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d41c0;
/* rgb */ color: rgb(125, 65, 192);
/* oklch */ color: oklch(51.5% 0.190 301.7);
Tailwind
colors: {
  custom: {
    50: '#a879d4',
    500: '#7d41c0',
    950: '#000000',
  },
}
SCSS
$custom: #7d41c0;
$custom-light: #a879d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41c0",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 192
  },
  "hsl": {
    "h": 268.346,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51454,
    "c": 0.19034,
    "h": 301.7
  },
  "luminance": 0.11946
}

Semantic roles & 50–950 ramp

primary
#7D41C0
secondary
#B0CB92
accent
#DA4E98
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D41C0

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

Preview Lab → · Contrast checker → · Palette generator →

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