#7E41BF#7E41BF

#7E41BF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.189 H 302.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7E41BF
RGBrgb(126, 65, 191)
HSLhsl(269, 50%, 50%)
HSVhsv(269, 66%, 75%)
CMYKcmyk(34%, 66%, 0%, 25.1%)
CIE-LABlab(41.18, 50.41, -56.27)
CIE-LCHlch(41.18, 75.55, 311.86°)
OKLaboklab(51.5% 0.1015 -0.1599)
OKLCHoklch(51.5% 0.189 302.4)
XYZxyz(19.8962, 11.9778, 50.5439)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E41BF #82BF41
analogous
#4143BF #7E41BF #BD41BF
triadic
#7E41BF #BF7E41 #41BF7E
tetradic
#7E41BF #BF4143 #82BF41 #41BFBD
square
#7E41BF #BF4143 #82BF41 #41BFBD
split-complementary
#7E41BF #BFBD41 #43BF41
monochromatic
#422264 #603192 #7E41BF #9D6FCE #BC9DDE

Accessibility & contrast

On white

6.18
#7E41BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7E41BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E41BF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E41BF#FFFFFF#000000##FFFFFF
##7E41BF1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0B61BC
Tritanopia (blue-blind)
#715D7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7e41bf;
/* rgb */ color: rgb(126, 65, 191);
/* oklch */ color: oklch(51.5% 0.189 302.4);
Tailwind
colors: {
  custom: {
    50: '#a87ad3',
    500: '#7e41bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e41bf;
$custom-light: #a87ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e41bf",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 269.048,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.18942,
    "h": 302.4
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E41BF

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

Preview Lab → · Contrast checker → · Palette generator →

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