#7B41D5#7B41D5

#7B41D5 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.8% C 0.213 H 296.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7B41D5
RGBrgb(123, 65, 213)
HSLhsl(264, 64%, 55%)
HSVhsv(264, 69%, 84%)
CMYKcmyk(42.3%, 69.5%, 0%, 16.5%)
CIE-LABlab(42.45, 55.35, -66.97)
CIE-LCHlch(42.45, 86.88, 309.57°)
OKLaboklab(52.84% 0.0943 -0.1915)
OKLCHoklch(52.84% 0.213 296.2)
XYZxyz(22.0657, 12.7952, 64.2450)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B41D5 #9BD541
analogous
#4151D5 #7B41D5 #C541D5
triadic
#7B41D5 #D57B41 #41D57B
tetradic
#7B41D5 #D54151 #9BD541 #41D5C5
square
#7B41D5 #D54151 #9BD541 #41D5C5
split-complementary
#7B41D5 #D5C541 #51D541
monochromatic
#431C7F #5D27B2 #7B41D5 #9E73E0 #C1A5EB

Accessibility & contrast

On white

5.90
#7B41D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7B41D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B41D5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B41D5#FFFFFF#000000##FFFFFF
##7B41D51.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#636686
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7b41d5;
/* rgb */ color: rgb(123, 65, 213);
/* oklch */ color: oklch(52.8% 0.213 296.2);
Tailwind
colors: {
  custom: {
    50: '#a87ae3',
    500: '#7b41d5',
    950: '#000000',
  },
}
SCSS
$custom: #7b41d5;
$custom-light: #a87ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b41d5",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 263.514,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52837,
    "c": 0.21343,
    "h": 296.2
  },
  "luminance": 0.12796
}

Semantic roles & 50–950 ramp

primary
#7B41D5
secondary
#C0D89A
accent
#E741A6
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7B41D5

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

Preview Lab → · Contrast checker → · Palette generator →

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