#7B41D3#7B41D3

#7B41D3 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.7% C 0.211 H 296.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7B41D3
RGBrgb(123, 65, 211)
HSLhsl(264, 62%, 54%)
HSVhsv(264, 69%, 83%)
CMYKcmyk(41.7%, 69.2%, 0%, 17.3%)
CIE-LABlab(42.30, 54.84, -66.07)
CIE-LCHlch(42.30, 85.86, 309.69°)
OKLaboklab(52.68% 0.0947 -0.1888)
OKLCHoklch(52.68% 0.211 296.6)
XYZxyz(21.8135, 12.6943, 62.9163)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B41D3 #99D341
analogous
#4150D3 #7B41D3 #C441D3
triadic
#7B41D3 #D37B41 #41D37B
tetradic
#7B41D3 #D34150 #99D341 #41D3C4
square
#7B41D3 #D34150 #99D341 #41D3C4
split-complementary
#7B41D3 #D3C441 #50D341
monochromatic
#431D7D #5E28AE #7B41D3 #9E73DF #C0A4EA

Accessibility & contrast

On white

5.93
#7B41D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7B41D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B41D3
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B41D3#FFFFFF#000000##FFFFFF
##7B41D31.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#0062D0
Tritanopia (blue-blind)
#646585
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7b41d3;
/* rgb */ color: rgb(123, 65, 211);
/* oklch */ color: oklch(52.7% 0.211 296.6);
Tailwind
colors: {
  custom: {
    50: '#a87ae1',
    500: '#7b41d3',
    950: '#000000',
  },
}
SCSS
$custom: #7b41d3;
$custom-light: #a87ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b41d3",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 263.836,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52679,
    "c": 0.21121,
    "h": 296.6
  },
  "luminance": 0.12695
}

Semantic roles & 50–950 ramp

primary
#7B41D3
secondary
#BED799
accent
#E542A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B41D3

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

Preview Lab → · Contrast checker → · Palette generator →

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