#7A248E#7A248E

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

Color values

HEX#7A248E
RGBrgb(122, 36, 142)
HSLhsl(289, 60%, 35%)
HSVhsv(289, 75%, 56%)
CMYKcmyk(14.1%, 74.6%, 0%, 44.3%)
CIE-LABlab(32.60, 51.65, -40.75)
CIE-LCHlch(32.60, 65.80, 321.73°)
OKLaboklab(44.17% 0.1328 -0.1143)
OKLCHoklch(44.17% 0.175 319.3)
XYZxyz(13.5388, 7.3530, 26.2921)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A248E #388E24
analogous
#45248E #7A248E #8E246D
triadic
#7A248E #8E7A24 #248E7A
tetradic
#7A248E #8E4524 #388E24 #246D8E
square
#7A248E #8E4524 #388E24 #246D8E
split-complementary
#7A248E #6D8E24 #248E45
monochromatic
#260B2C #50185D #7A248E #A430BF #BD58D5

Accessibility & contrast

On white

8.50
#7A248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7A248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A248E
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A248E#FFFFFF#000000##FFFFFF
##7A248E1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#2C4F8C
Tritanopia (blue-blind)
#7A3957
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a248e;
/* rgb */ color: rgb(122, 36, 142);
/* oklch */ color: oklch(44.2% 0.175 319.3);
Tailwind
colors: {
  custom: {
    50: '#a468b0',
    500: '#7a248e',
    950: '#000000',
  },
}
SCSS
$custom: #7a248e;
$custom-light: #a468b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a248e",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 288.679,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4417,
    "c": 0.17525,
    "h": 319.3
  },
  "luminance": 0.07352
}

Semantic roles & 50–950 ramp

primary
#7A248E
secondary
#68B955
accent
#E34563
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7A248E

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

Preview Lab → · Contrast checker → · Palette generator →

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