#7B41BC#7B41BC

#7B41BC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.9% C 0.185 H 301.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7B41BC
RGBrgb(123, 65, 188)
HSLhsl(268, 49%, 50%)
HSVhsv(268, 65%, 74%)
CMYKcmyk(34.6%, 65.4%, 0%, 26.3%)
CIE-LABlab(40.61, 49.03, -55.46)
CIE-LCHlch(40.61, 74.02, 311.48°)
OKLaboklab(50.94% 0.0977 -0.1576)
OKLCHoklch(50.94% 0.185 301.8)
XYZxyz(19.1336, 11.6223, 48.8025)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B41BC #82BC41
analogous
#4144BC #7B41BC #B941BC
triadic
#7B41BC #BC7B41 #41BC7B
tetradic
#7B41BC #BC4144 #82BC41 #41BCB9
square
#7B41BC #BC4144 #82BC41 #41BCB9
split-complementary
#7B41BC #BCB941 #44BC41
monochromatic
#3F2261 #5D318F #7B41BC #9A6ECD #BA9BDC

Accessibility & contrast

On white

6.32
#7B41BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7B41BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B41BC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B41BC#FFFFFF#000000##FFFFFF
##7B41BC1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0C5FB9
Tritanopia (blue-blind)
#6E5C79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b41bc;
/* rgb */ color: rgb(123, 65, 188);
/* oklch */ color: oklch(50.9% 0.185 301.8);
Tailwind
colors: {
  custom: {
    50: '#a679d1',
    500: '#7b41bc',
    950: '#000000',
  },
}
SCSS
$custom: #7b41bc;
$custom-light: #a679d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b41bc",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 268.293,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50937,
    "c": 0.18546,
    "h": 301.8
  },
  "luminance": 0.11622
}

Semantic roles & 50–950 ramp

primary
#7B41BC
secondary
#AEC990
accent
#D85098
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B41BC

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

Preview Lab → · Contrast checker → · Palette generator →

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