#7D41C9#7D41C9

#7D41C9 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.1% C 0.200 H 299.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7D41C9
RGBrgb(125, 65, 201)
HSLhsl(266, 56%, 52%)
HSVhsv(266, 68%, 79%)
CMYKcmyk(37.8%, 67.7%, 0%, 21.2%)
CIE-LABlab(41.78, 52.69, -61.13)
CIE-LCHlch(41.78, 80.70, 310.76°)
OKLaboklab(52.12% 0.099 -0.1742)
OKLCHoklch(52.12% 0.2 299.6)
XYZxyz(20.8877, 12.3574, 56.5318)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41C9 #8DC941
analogous
#4149C9 #7D41C9 #C141C9
triadic
#7D41C9 #C97D41 #41C97D
tetradic
#7D41C9 #C94149 #8DC941 #41C9C1
square
#7D41C9 #C94149 #8DC941 #41C9C1
split-complementary
#7D41C9 #C9C141 #49C941
monochromatic
#432070 #602D9F #7D41C9 #9E71D7 #BEA0E4

Accessibility & contrast

On white

6.05
#7D41C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7D41C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41C9
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41C9#FFFFFF#000000##FFFFFF
##7D41C91.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CD
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#6C6180
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7d41c9;
/* rgb */ color: rgb(125, 65, 201);
/* oklch */ color: oklch(52.1% 0.200 299.6);
Tailwind
colors: {
  custom: {
    50: '#a87ada',
    500: '#7d41c9',
    950: '#000000',
  },
}
SCSS
$custom: #7d41c9;
$custom-light: #a87ada;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41c9",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 201
  },
  "hsl": {
    "h": 266.471,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52124,
    "c": 0.20037,
    "h": 299.6
  },
  "luminance": 0.12358
}

Semantic roles & 50–950 ramp

primary
#7D41C9
secondary
#B6D195
accent
#DF499D
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D41C9

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

Preview Lab → · Contrast checker → · Palette generator →

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