#7B419F#7B419F

#7B419F is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.0% C 0.152 H 310.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7B419F
RGBrgb(123, 65, 159)
HSLhsl(277, 42%, 44%)
HSVhsv(277, 59%, 62%)
CMYKcmyk(22.6%, 59.1%, 0%, 37.6%)
CIE-LABlab(38.72, 42.03, -41.29)
CIE-LCHlch(38.72, 58.92, 315.51°)
OKLaboklab(48.96% 0.0989 -0.1161)
OKLCHoklch(48.96% 0.153 310.4)
XYZxyz(16.3155, 10.4951, 33.9604)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B419F #659F41
analogous
#4C419F #7B419F #9F4194
triadic
#7B419F #9F7B41 #419F7B
tetradic
#7B419F #9F4C41 #659F41 #41949F
square
#7B419F #9F4C41 #659F41 #41949F
split-complementary
#7B419F #949F41 #419F4C
monochromatic
#381D48 #592F74 #7B419F #9A5FBE #B58BD0

Accessibility & contrast

On white

6.78
#7B419F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7B419F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B419F
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B419F#FFFFFF#000000##FFFFFF
##7B419F1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A2
Deuteranopia (green-blind)
#385C9D
Tritanopia (blue-blind)
#76526A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b419f;
/* rgb */ color: rgb(123, 65, 159);
/* oklch */ color: oklch(49.0% 0.152 310.4);
Tailwind
colors: {
  custom: {
    50: '#a478bc',
    500: '#7b419f',
    950: '#000000',
  },
}
SCSS
$custom: #7b419f;
$custom-light: #a478bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b419f",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 277.021,
    "s": 41.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48959,
    "c": 0.1525,
    "h": 310.4
  },
  "luminance": 0.10495
}

Semantic roles & 50–950 ramp

primary
#7B419F
secondary
#97BA81
accent
#D25685
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7B419F

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

Preview Lab → · Contrast checker → · Palette generator →

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