#7D41CE#7D41CE

#7D41CE is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.5% C 0.206 H 298.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7D41CE
RGBrgb(125, 65, 206)
HSLhsl(266, 59%, 53%)
HSVhsv(266, 68%, 81%)
CMYKcmyk(39.3%, 68.4%, 0%, 19.2%)
CIE-LABlab(42.15, 53.94, -63.42)
CIE-LCHlch(42.15, 83.26, 310.38°)
OKLaboklab(52.51% 0.0982 -0.181)
OKLCHoklch(52.51% 0.206 298.5)
XYZxyz(21.4855, 12.5965, 59.6799)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41CE #92CE41
analogous
#414BCE #7D41CE #C441CE
triadic
#7D41CE #CE7D41 #41CE7D
tetradic
#7D41CE #CE414B #92CE41 #41CEC4
square
#7D41CE #CE414B #92CE41 #41CEC4
split-complementary
#7D41CE #CEC441 #4BCE41
monochromatic
#441E76 #602BA7 #7D41CE #9E72DB #C0A2E7

Accessibility & contrast

On white

5.97
#7D41CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7D41CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41CE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41CE#FFFFFF#000000##FFFFFF
##7D41CE1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#6A6382
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7d41ce;
/* rgb */ color: rgb(125, 65, 206);
/* oklch */ color: oklch(52.5% 0.206 298.5);
Tailwind
colors: {
  custom: {
    50: '#a97ade',
    500: '#7d41ce',
    950: '#000000',
  },
}
SCSS
$custom: #7d41ce;
$custom-light: #a97ade;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41ce",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 265.532,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52505,
    "c": 0.20591,
    "h": 298.5
  },
  "luminance": 0.12597
}

Semantic roles & 50–950 ramp

primary
#7D41CE
secondary
#BAD497
accent
#E246A0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D41CE

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

Preview Lab → · Contrast checker → · Palette generator →

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