#7A247B#7A247B

#7A247B is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.158 H 327.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7A247B
RGBrgb(122, 36, 123)
HSLhsl(299, 55%, 31%)
HSVhsv(299, 71%, 48%)
CMYKcmyk(0.8%, 70.7%, 0%, 51.8%)
CIE-LABlab(31.42, 48.05, -30.80)
CIE-LCHlch(31.42, 57.08, 327.34°)
OKLaboklab(42.95% 0.1335 -0.0853)
OKLCHoklch(42.95% 0.158 327.4)
XYZxyz(12.2319, 6.8302, 19.4092)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A247B #257B24
analogous
#4E247B #7A247B #7B2450
triadic
#7A247B #7B7A24 #247B7A
tetradic
#7A247B #7B4E24 #257B24 #24507B
square
#7A247B #7B4E24 #257B24 #24507B
split-complementary
#7A247B #507B24 #247B4E
monochromatic
#1C081C #4B164C #7A247B #A932AA #CA4ECB

Accessibility & contrast

On white

8.88
#7A247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7A247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A247B
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A247B#FFFFFF#000000##FFFFFF
##7A247B1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437D
Deuteranopia (green-blind)
#394E79
Tritanopia (blue-blind)
#7E314D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a247b;
/* rgb */ color: rgb(122, 36, 123);
/* oklch */ color: oklch(42.9% 0.158 327.4);
Tailwind
colors: {
  custom: {
    50: '#a367a1',
    500: '#7a247b',
    950: '#000000',
  },
}
SCSS
$custom: #7a247b;
$custom-light: #a367a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a247b",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 299.31,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42946,
    "c": 0.15843,
    "h": 327.4
  },
  "luminance": 0.06829
}

Semantic roles & 50–950 ramp

primary
#7A247B
secondary
#4EAD4D
accent
#DE4A4B
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #7A247B

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

Preview Lab → · Contrast checker → · Palette generator →

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