#7D41BF#7D41BF

#7D41BF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.4% C 0.189 H 302.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7D41BF
RGBrgb(125, 65, 191)
HSLhsl(269, 50%, 50%)
HSVhsv(269, 66%, 75%)
CMYKcmyk(34.6%, 66%, 0%, 25.1%)
CIE-LABlab(41.06, 50.20, -56.47)
CIE-LCHlch(41.06, 75.56, 311.64°)
OKLaboklab(51.38% 0.1002 -0.1605)
OKLCHoklch(51.38% 0.189 302)
XYZxyz(19.7495, 11.9021, 50.5370)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41BF #83BF41
analogous
#4144BF #7D41BF #BC41BF
triadic
#7D41BF #BF7D41 #41BF7D
tetradic
#7D41BF #BF4144 #83BF41 #41BFBC
square
#7D41BF #BF4144 #83BF41 #41BFBC
split-complementary
#7D41BF #BFBC41 #44BF41
monochromatic
#412264 #5F3192 #7D41BF #9C6FCE #BC9DDE

Accessibility & contrast

On white

6.21
#7D41BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7D41BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41BF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41BF#FFFFFF#000000##FFFFFF
##7D41BF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0760BC
Tritanopia (blue-blind)
#6F5D7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d41bf;
/* rgb */ color: rgb(125, 65, 191);
/* oklch */ color: oklch(51.4% 0.189 302.0);
Tailwind
colors: {
  custom: {
    50: '#a779d3',
    500: '#7d41bf',
    950: '#000000',
  },
}
SCSS
$custom: #7d41bf;
$custom-light: #a779d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41bf",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 268.571,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51381,
    "c": 0.18923,
    "h": 302
  },
  "luminance": 0.11902
}

Semantic roles & 50–950 ramp

primary
#7D41BF
secondary
#AFCA92
accent
#D94F97
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D41BF

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

Preview Lab → · Contrast checker → · Palette generator →

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