#7B1774#7B1774

#7B1774 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.168 H 331.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7B1774
RGBrgb(123, 23, 116)
HSLhsl(304, 68%, 29%)
HSVhsv(304, 81%, 48%)
CMYKcmyk(0%, 81.3%, 5.7%, 51.8%)
CIE-LABlab(29.63, 51.54, -29.20)
CIE-LCHlch(29.63, 59.23, 330.47°)
OKLaboklab(41.57% 0.1473 -0.0805)
OKLCHoklch(41.57% 0.168 331.3)
XYZxyz(11.6272, 6.0857, 17.0819)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1774 #177B1E
analogous
#50177B #7B1774 #7B1742
triadic
#7B1774 #747B17 #17747B
tetradic
#7B1774 #7B5017 #177B1E #17427B
square
#7B1774 #7B5017 #177B1E #17427B
split-complementary
#7B1774 #427B17 #177B50
monochromatic
#1A0518 #470D43 #7B1774 #AF21A5 #D933CD

Accessibility & contrast

On white

9.47
#7B1774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7B1774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1774
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1774#FFFFFF#000000##FFFFFF
##7B17741.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3D76
Deuteranopia (green-blind)
#394B72
Tritanopia (blue-blind)
#802545
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1774;
/* rgb */ color: rgb(123, 23, 116);
/* oklch */ color: oklch(41.6% 0.168 331.3);
Tailwind
colors: {
  custom: {
    50: '#a5629c',
    500: '#7b1774',
    950: '#000000',
  },
}
SCSS
$custom: #7b1774;
$custom-light: #a5629c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1774",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 304.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41567,
    "c": 0.16784,
    "h": 331.3
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#7B1774
secondary
#3EB046
accent
#EB493C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1774

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

Preview Lab → · Contrast checker → · Palette generator →

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