#7B247B#7B247B

#7B247B is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.159 H 327.9°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#7B247B
RGBrgb(123, 36, 123)
HSLhsl(300, 55%, 31%)
HSVhsv(300, 71%, 48%)
CMYKcmyk(0%, 70.7%, 0%, 51.8%)
CIE-LABlab(31.59, 48.30, -30.53)
CIE-LCHlch(31.59, 57.14, 327.71°)
OKLaboklab(43.1% 0.1347 -0.0845)
OKLCHoklch(43.1% 0.159 327.9)
XYZxyz(12.3742, 6.9036, 19.4158)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B247B #247B24
analogous
#4F247B #7B247B #7B244F
triadic
#7B247B #7B7B24 #247B7B
tetradic
#7B247B #7B4F24 #247B24 #244F7B
square
#7B247B #7B4F24 #247B24 #244F7B
split-complementary
#7B247B #4F7B24 #247B4F
monochromatic
#1C081C #4C164C #7B247B #AA32AA #CB4ECB

Accessibility & contrast

On white

8.82
#7B247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B247B
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B247B#FFFFFF#000000##FFFFFF
##7B247B1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16437D
Deuteranopia (green-blind)
#3A4E79
Tritanopia (blue-blind)
#7F304D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b247b;
/* rgb */ color: rgb(123, 36, 123);
/* oklch */ color: oklch(43.1% 0.159 327.9);
Tailwind
colors: {
  custom: {
    50: '#a467a1',
    500: '#7b247b',
    950: '#000000',
  },
}
SCSS
$custom: #7b247b;
$custom-light: #a467a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b247b",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 300,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43101,
    "c": 0.15898,
    "h": 327.9
  },
  "luminance": 0.06903
}

Semantic roles & 50–950 ramp

primary
#7B247B
secondary
#4DAD4D
accent
#DE4A4A
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B247B

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

Preview Lab → · Contrast checker → · Palette generator →

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