#7B247A#7B247A

#7B247A is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.158 H 328.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7B247A
RGBrgb(123, 36, 122)
HSLhsl(301, 55%, 31%)
HSVhsv(301, 71%, 48%)
CMYKcmyk(0%, 70.7%, 0.8%, 51.8%)
CIE-LABlab(31.53, 48.12, -29.99)
CIE-LCHlch(31.53, 56.70, 328.07°)
OKLaboklab(43.04% 0.1347 -0.0829)
OKLCHoklch(43.04% 0.158 328.4)
XYZxyz(12.3120, 6.8787, 19.0878)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B247A #247B25
analogous
#50247B #7B247A #7B244E
triadic
#7B247A #7A7B24 #247A7B
tetradic
#7B247A #7B5024 #247B25 #244E7B
square
#7B247A #7B5024 #247B25 #244E7B
split-complementary
#7B247A #4E7B24 #247B50
monochromatic
#1C081C #4C164B #7B247A #AA32A9 #CB4ECA

Accessibility & contrast

On white

8.84
#7B247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7B247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B247A
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B247A#FFFFFF#000000##FFFFFF
##7B247A1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18437C
Deuteranopia (green-blind)
#3B4E78
Tritanopia (blue-blind)
#7F304C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b247a;
/* rgb */ color: rgb(123, 36, 122);
/* oklch */ color: oklch(43.0% 0.158 328.4);
Tailwind
colors: {
  custom: {
    50: '#a467a1',
    500: '#7b247a',
    950: '#000000',
  },
}
SCSS
$custom: #7b247a;
$custom-light: #a467a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b247a",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 300.69,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43041,
    "c": 0.15813,
    "h": 328.4
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#7B247A
secondary
#4DAD4E
accent
#DE4B4A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7B247A

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

Preview Lab → · Contrast checker → · Palette generator →

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