#7B41D1#7B41D1

#7B41D1 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.5% C 0.209 H 297.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7B41D1
RGBrgb(123, 65, 209)
HSLhsl(264, 61%, 54%)
HSVhsv(264, 69%, 82%)
CMYKcmyk(41.1%, 68.9%, 0%, 18%)
CIE-LABlab(42.15, 54.33, -65.17)
CIE-LCHlch(42.15, 84.84, 309.82°)
OKLaboklab(52.52% 0.095 -0.1862)
OKLCHoklch(52.52% 0.209 297)
XYZxyz(21.5643, 12.5946, 61.6041)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B41D1 #97D141
analogous
#414FD1 #7B41D1 #C341D1
triadic
#7B41D1 #D17B41 #41D17B
tetradic
#7B41D1 #D1414F #97D141 #41D1C3
square
#7B41D1 #D1414F #97D141 #41D1C3
split-complementary
#7B41D1 #D1C341 #4FD141
monochromatic
#431E7A #5E29AB #7B41D1 #9D72DD #BFA4E9

Accessibility & contrast

On white

5.97
#7B41D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7B41D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B41D1
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B41D1#FFFFFF#000000##FFFFFF
##7B41D11.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0062CE
Tritanopia (blue-blind)
#656484
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b41d1;
/* rgb */ color: rgb(123, 65, 209);
/* oklch */ color: oklch(52.5% 0.209 297.0);
Tailwind
colors: {
  custom: {
    50: '#a87ae0',
    500: '#7b41d1',
    950: '#000000',
  },
}
SCSS
$custom: #7b41d1;
$custom-light: #a87ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b41d1",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 264.167,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52522,
    "c": 0.209,
    "h": 297
  },
  "luminance": 0.12595
}

Semantic roles & 50–950 ramp

primary
#7B41D1
secondary
#BDD698
accent
#E444A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B41D1

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

Preview Lab → · Contrast checker → · Palette generator →

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