#7B419D#7B419D

#7B419D is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.8% C 0.150 H 311.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7B419D
RGBrgb(123, 65, 157)
HSLhsl(278, 41%, 44%)
HSVhsv(278, 59%, 62%)
CMYKcmyk(21.7%, 58.6%, 0%, 38.4%)
CIE-LABlab(38.60, 41.57, -40.28)
CIE-LCHlch(38.60, 57.89, 315.90°)
OKLaboklab(48.83% 0.0989 -0.1131)
OKLCHoklch(48.83% 0.15 311.2)
XYZxyz(16.1434, 10.4262, 33.0538)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B419D #639D41
analogous
#4D419D #7B419D #9D4191
triadic
#7B419D #9D7B41 #419D7B
tetradic
#7B419D #9D4D41 #639D41 #41919D
square
#7B419D #9D4D41 #639D41 #41919D
split-complementary
#7B419D #919D41 #419D4D
monochromatic
#371D46 #592F72 #7B419D #9A5FBD #B58ACF

Accessibility & contrast

On white

6.81
#7B419D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7B419D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B419D
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B419D#FFFFFF#000000##FFFFFF
##7B419D1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2358A0
Deuteranopia (green-blind)
#395C9B
Tritanopia (blue-blind)
#775269
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b419d;
/* rgb */ color: rgb(123, 65, 157);
/* oklch */ color: oklch(48.8% 0.150 311.2);
Tailwind
colors: {
  custom: {
    50: '#a478ba',
    500: '#7b419d',
    950: '#000000',
  },
}
SCSS
$custom: #7b419d;
$custom-light: #a478ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7b419d",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 277.826,
    "s": 41.441,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48833,
    "c": 0.15022,
    "h": 311.2
  },
  "luminance": 0.10426
}

Semantic roles & 50–950 ramp

primary
#7B419D
secondary
#95B980
accent
#D15784
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7B419D

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

Preview Lab → · Contrast checker → · Palette generator →

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