#7D41CF#7D41CF

#7D41CF is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.6% C 0.207 H 298.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7D41CF
RGBrgb(125, 65, 207)
HSLhsl(265, 60%, 53%)
HSVhsv(265, 69%, 81%)
CMYKcmyk(39.6%, 68.6%, 0%, 18.8%)
CIE-LABlab(42.22, 54.19, -63.88)
CIE-LCHlch(42.22, 83.77, 310.31°)
OKLaboklab(52.58% 0.0981 -0.1823)
OKLCHoklch(52.58% 0.207 298.3)
XYZxyz(21.6074, 12.6452, 60.3218)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41CF #93CF41
analogous
#414CCF #7D41CF #C441CF
triadic
#7D41CF #CF7D41 #41CF7D
tetradic
#7D41CF #CF414C #93CF41 #41CFC4
square
#7D41CF #CF414C #93CF41 #41CFC4
split-complementary
#7D41CF #CFC441 #4CCF41
monochromatic
#441E77 #602BA8 #7D41CF #9E72DB #C0A3E8

Accessibility & contrast

On white

5.95
#7D41CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7D41CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41CF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41CF#FFFFFF#000000##FFFFFF
##7D41CF1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#696383
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d41cf;
/* rgb */ color: rgb(125, 65, 207);
/* oklch */ color: oklch(52.6% 0.207 298.3);
Tailwind
colors: {
  custom: {
    50: '#a97adf',
    500: '#7d41cf',
    950: '#000000',
  },
}
SCSS
$custom: #7d41cf;
$custom-light: #a97adf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41cf",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 265.352,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52582,
    "c": 0.20701,
    "h": 298.3
  },
  "luminance": 0.12646
}

Semantic roles & 50–950 ramp

primary
#7D41CF
secondary
#BBD497
accent
#E345A0
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D41CF

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

Preview Lab → · Contrast checker → · Palette generator →

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