#7B247F#7B247F

#7B247F is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.162 H 326.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7B247F
RGBrgb(123, 36, 127)
HSLhsl(297, 56%, 32%)
HSVhsv(297, 72%, 50%)
CMYKcmyk(3.1%, 71.7%, 0%, 50.2%)
CIE-LABlab(31.82, 49.03, -32.67)
CIE-LCHlch(31.82, 58.91, 326.32°)
OKLaboklab(43.35% 0.1347 -0.0907)
OKLCHoklch(43.35% 0.162 326.1)
XYZxyz(12.6298, 7.0058, 20.7616)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B247F #287F24
analogous
#4E247F #7B247F #7F2456
triadic
#7B247F #7F7B24 #247F7B
tetradic
#7B247F #7F4E24 #287F24 #24567F
square
#7B247F #7F4E24 #287F24 #24567F
split-complementary
#7B247F #567F24 #247F4E
monochromatic
#1F0920 #4D164F #7B247F #A932AF #C850CD

Accessibility & contrast

On white

8.75
#7B247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7B247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B247F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B247F#FFFFFF#000000##FFFFFF
##7B247F1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104482
Deuteranopia (green-blind)
#384F7D
Tritanopia (blue-blind)
#7E324F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b247f;
/* rgb */ color: rgb(123, 36, 127);
/* oklch */ color: oklch(43.3% 0.162 326.1);
Tailwind
colors: {
  custom: {
    50: '#a467a4',
    500: '#7b247f',
    950: '#000000',
  },
}
SCSS
$custom: #7b247f;
$custom-light: #a467a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b247f",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 297.363,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43345,
    "c": 0.1624,
    "h": 326.1
  },
  "luminance": 0.07005
}

Semantic roles & 50–950 ramp

primary
#7B247F
secondary
#52B14E
accent
#DF494F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B247F

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

Preview Lab → · Contrast checker → · Palette generator →

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