#7B41D4#7B41D4

#7B41D4 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.212 H 296.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7B41D4
RGBrgb(123, 65, 212)
HSLhsl(264, 63%, 54%)
HSVhsv(264, 69%, 83%)
CMYKcmyk(42%, 69.3%, 0%, 16.9%)
CIE-LABlab(42.38, 55.09, -66.52)
CIE-LCHlch(42.38, 86.37, 309.63°)
OKLaboklab(52.76% 0.0945 -0.1901)
OKLCHoklch(52.76% 0.212 296.4)
XYZxyz(21.9392, 12.7446, 63.5786)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B41D4 #9AD441
analogous
#4151D4 #7B41D4 #C441D4
triadic
#7B41D4 #D47B41 #41D47B
tetradic
#7B41D4 #D44151 #9AD441 #41D4C4
square
#7B41D4 #D44151 #9AD441 #41D4C4
split-complementary
#7B41D4 #D4C441 #51D441
monochromatic
#431D7E #5E28B0 #7B41D4 #9E73DF #C0A5EB

Accessibility & contrast

On white

5.92
#7B41D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7B41D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B41D4
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B41D4#FFFFFF#000000##FFFFFF
##7B41D41.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#0062D1
Tritanopia (blue-blind)
#646586
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7b41d4;
/* rgb */ color: rgb(123, 65, 212);
/* oklch */ color: oklch(52.8% 0.212 296.4);
Tailwind
colors: {
  custom: {
    50: '#a87ae2',
    500: '#7b41d4',
    950: '#000000',
  },
}
SCSS
$custom: #7b41d4;
$custom-light: #a87ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b41d4",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 263.673,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52758,
    "c": 0.21232,
    "h": 296.4
  },
  "luminance": 0.12745
}

Semantic roles & 50–950 ramp

primary
#7B41D4
secondary
#BFD899
accent
#E642A5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #7B41D4

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

Preview Lab → · Contrast checker → · Palette generator →

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