#7A249D#7A249D

#7A249D is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.189 H 313.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#7A249D
RGBrgb(122, 36, 157)
HSLhsl(283, 63%, 38%)
HSVhsv(283, 77%, 62%)
CMYKcmyk(22.3%, 77.1%, 0%, 38.4%)
CIE-LABlab(33.63, 54.70, -48.26)
CIE-LCHlch(33.63, 72.94, 318.58°)
OKLaboklab(45.24% 0.1309 -0.1363)
OKLCHoklch(45.24% 0.189 313.8)
XYZxyz(14.7417, 7.8341, 32.6273)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A249D #479D24
analogous
#3E249D #7A249D #9D2483
triadic
#7A249D #9D7A24 #249D7A
tetradic
#7A249D #9D3E24 #479D24 #24839D
square
#7A249D #9D3E24 #479D24 #24839D
split-complementary
#7A249D #839D24 #249D3E
monochromatic
#2D0D39 #53196B #7A249D #A12FCF #B761DB

Accessibility & contrast

On white

8.18
#7A249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7A249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A249D
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A249D#FFFFFF#000000##FFFFFF
##7A249D1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#19519A
Tritanopia (blue-blind)
#76405F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a249d;
/* rgb */ color: rgb(122, 36, 157);
/* oklch */ color: oklch(45.2% 0.189 313.8);
Tailwind
colors: {
  custom: {
    50: '#a569bb',
    500: '#7a249d',
    950: '#000000',
  },
}
SCSS
$custom: #7a249d;
$custom-light: #a569bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a249d",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 282.645,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45235,
    "c": 0.18899,
    "h": 313.8
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#7A249D
secondary
#7AC05D
accent
#E64271
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A249D

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

Preview Lab → · Contrast checker → · Palette generator →

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