#7B41BD#7B41BD

#7B41BD is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.187 H 301.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7B41BD
RGBrgb(123, 65, 189)
HSLhsl(268, 49%, 50%)
HSVhsv(268, 66%, 74%)
CMYKcmyk(34.9%, 65.6%, 0%, 25.9%)
CIE-LABlab(40.68, 49.28, -55.93)
CIE-LCHlch(40.68, 74.54, 311.38°)
OKLaboklab(51.01% 0.0976 -0.159)
OKLCHoklch(51.01% 0.187 301.6)
XYZxyz(19.2418, 11.6656, 49.3722)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B41BD #83BD41
analogous
#4145BD #7B41BD #B941BD
triadic
#7B41BD #BD7B41 #41BD7B
tetradic
#7B41BD #BD4145 #83BD41 #41BDB9
square
#7B41BD #BD4145 #83BD41 #41BDB9
split-complementary
#7B41BD #BDB941 #45BD41
monochromatic
#402262 #5D318F #7B41BD #9B6ECD #BA9CDD

Accessibility & contrast

On white

6.30
#7B41BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7B41BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B41BD
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B41BD#FFFFFF#000000##FFFFFF
##7B41BD1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#075FBA
Tritanopia (blue-blind)
#6D5D79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b41bd;
/* rgb */ color: rgb(123, 65, 189);
/* oklch */ color: oklch(51.0% 0.187 301.6);
Tailwind
colors: {
  custom: {
    50: '#a679d2',
    500: '#7b41bd',
    950: '#000000',
  },
}
SCSS
$custom: #7b41bd;
$custom-light: #a679d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b41bd",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 268.065,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5101,
    "c": 0.1866,
    "h": 301.6
  },
  "luminance": 0.11666
}

Semantic roles & 50–950 ramp

primary
#7B41BD
secondary
#AFC991
accent
#D84F98
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B41BD

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

Preview Lab → · Contrast checker → · Palette generator →

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