#7A248D#7A248D

#7A248D is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.174 H 319.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7A248D
RGBrgb(122, 36, 141)
HSLhsl(289, 59%, 35%)
HSVhsv(289, 74%, 55%)
CMYKcmyk(13.5%, 74.5%, 0%, 44.7%)
CIE-LABlab(32.53, 51.46, -40.24)
CIE-LCHlch(32.53, 65.33, 321.97°)
OKLaboklab(44.1% 0.1329 -0.1128)
OKLCHoklch(44.1% 0.174 319.7)
XYZxyz(13.4640, 7.3231, 25.8984)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A248D #378D24
analogous
#46248D #7A248D #8D246C
triadic
#7A248D #8D7A24 #248D7A
tetradic
#7A248D #8D4624 #378D24 #246C8D
square
#7A248D #8D4624 #378D24 #246C8D
split-complementary
#7A248D #6C8D24 #248D46
monochromatic
#260B2B #50185C #7A248D #A430BE #BE57D4

Accessibility & contrast

On white

8.52
#7A248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7A248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A248D
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A248D#FFFFFF#000000##FFFFFF
##7A248D1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#2D4F8B
Tritanopia (blue-blind)
#7A3956
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a248d;
/* rgb */ color: rgb(122, 36, 141);
/* oklch */ color: oklch(44.1% 0.174 319.7);
Tailwind
colors: {
  custom: {
    50: '#a468af',
    500: '#7a248d',
    950: '#000000',
  },
}
SCSS
$custom: #7a248d;
$custom-light: #a468af;
$custom-dark: #000000;
JSON
{
  "hex": "#7a248d",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 289.143,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44102,
    "c": 0.17434,
    "h": 319.7
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

primary
#7A248D
secondary
#66B854
accent
#E34562
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7A248D

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

Preview Lab → · Contrast checker → · Palette generator →

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