#7A248F#7A248F

#7A248F is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.176 H 318.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7A248F
RGBrgb(122, 36, 143)
HSLhsl(288, 60%, 35%)
HSVhsv(288, 75%, 56%)
CMYKcmyk(14.7%, 74.8%, 0%, 43.9%)
CIE-LABlab(32.66, 51.85, -41.26)
CIE-LCHlch(32.66, 66.27, 321.49°)
OKLaboklab(44.24% 0.1327 -0.1158)
OKLCHoklch(44.24% 0.176 318.9)
XYZxyz(13.6142, 7.3831, 26.6892)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A248F #398F24
analogous
#44248F #7A248F #8F246F
triadic
#7A248F #8F7A24 #248F7A
tetradic
#7A248F #8F4424 #398F24 #246F8F
square
#7A248F #8F4424 #398F24 #246F8F
split-complementary
#7A248F #6F8F24 #248F44
monochromatic
#270B2D #50185E #7A248F #A430C0 #BD58D5

Accessibility & contrast

On white

8.48
#7A248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7A248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A248F
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A248F#FFFFFF#000000##FFFFFF
##7A248F1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#2B508D
Tritanopia (blue-blind)
#7A3A58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a248f;
/* rgb */ color: rgb(122, 36, 143);
/* oklch */ color: oklch(44.2% 0.176 318.9);
Tailwind
colors: {
  custom: {
    50: '#a468b0',
    500: '#7a248f',
    950: '#000000',
  },
}
SCSS
$custom: #7a248f;
$custom-light: #a468b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a248f",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 288.224,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44238,
    "c": 0.17616,
    "h": 318.9
  },
  "luminance": 0.07382
}

Semantic roles & 50–950 ramp

primary
#7A248F
secondary
#69B955
accent
#E34564
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7A248F

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

Preview Lab → · Contrast checker → · Palette generator →

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