#7D41BB#7D41BB

#7D41BB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.1% C 0.185 H 303.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7D41BB
RGBrgb(125, 65, 187)
HSLhsl(270, 48%, 49%)
HSVhsv(270, 65%, 73%)
CMYKcmyk(33.2%, 65.2%, 0%, 26.7%)
CIE-LABlab(40.78, 49.22, -54.58)
CIE-LCHlch(40.78, 73.49, 312.04°)
OKLaboklab(51.09% 0.1006 -0.155)
OKLCHoklch(51.09% 0.185 303)
XYZxyz(19.3153, 11.7284, 48.2503)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41BB #7FBB41
analogous
#4142BB #7D41BB #BA41BB
triadic
#7D41BB #BB7D41 #41BB7D
tetradic
#7D41BB #BB4142 #7FBB41 #41BBBA
square
#7D41BB #BB4142 #7FBB41 #41BBBA
split-complementary
#7D41BB #BBBA41 #42BB41
monochromatic
#402160 #5F318E #7D41BB #9C6DCC #BB9ADC

Accessibility & contrast

On white

6.28
#7D41BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7D41BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41BB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41BB#FFFFFF#000000##FFFFFF
##7D41BB1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#1560B8
Tritanopia (blue-blind)
#715C78
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d41bb;
/* rgb */ color: rgb(125, 65, 187);
/* oklch */ color: oklch(51.1% 0.185 303.0);
Tailwind
colors: {
  custom: {
    50: '#a779d0',
    500: '#7d41bb',
    950: '#000000',
  },
}
SCSS
$custom: #7d41bb;
$custom-light: #a779d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41bb",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 269.508,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51092,
    "c": 0.18475,
    "h": 303
  },
  "luminance": 0.11728
}

Semantic roles & 50–950 ramp

primary
#7D41BB
secondary
#ACC890
accent
#D85095
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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