#7B41D9#7B41D9

#7B41D9 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.2% C 0.218 H 295.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7B41D9
RGBrgb(123, 65, 217)
HSLhsl(263, 67%, 55%)
HSVhsv(263, 70%, 85%)
CMYKcmyk(43.3%, 70%, 0%, 14.9%)
CIE-LABlab(42.76, 56.37, -68.75)
CIE-LCHlch(42.76, 88.91, 309.35°)
OKLaboklab(53.15% 0.0936 -0.1967)
OKLCHoklch(53.15% 0.218 295.4)
XYZxyz(22.5797, 13.0008, 66.9519)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B41D9 #9FD941
analogous
#4153D9 #7B41D9 #C741D9
triadic
#7B41D9 #D97B41 #41D97B
tetradic
#7B41D9 #D94153 #9FD941 #41D9C7
square
#7B41D9 #D94153 #9FD941 #41D9C7
split-complementary
#7B41D9 #D9C741 #53D941
monochromatic
#431B85 #5D25B8 #7B41D9 #9E74E3 #C2A7ED

Accessibility & contrast

On white

5.83
#7B41D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7B41D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B41D9
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B41D9#FFFFFF#000000##FFFFFF
##7B41D91.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#616789
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b41d9;
/* rgb */ color: rgb(123, 65, 217);
/* oklch */ color: oklch(53.2% 0.218 295.4);
Tailwind
colors: {
  custom: {
    50: '#a97ae6',
    500: '#7b41d9',
    950: '#000000',
  },
}
SCSS
$custom: #7b41d9;
$custom-light: #a97ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b41d9",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 262.895,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53155,
    "c": 0.21784,
    "h": 295.4
  },
  "luminance": 0.13001
}

Semantic roles & 50–950 ramp

primary
#7B41D9
secondary
#C2DB9B
accent
#EA3EA8
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7B41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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