#7A249B#7A249B

#7A249B is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.187 H 314.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7A249B
RGBrgb(122, 36, 155)
HSLhsl(283, 62%, 37%)
HSVhsv(283, 77%, 61%)
CMYKcmyk(21.3%, 76.8%, 0%, 39.2%)
CIE-LABlab(33.49, 54.28, -47.27)
CIE-LCHlch(33.49, 71.98, 318.95°)
OKLaboklab(45.09% 0.1312 -0.1335)
OKLCHoklch(45.09% 0.187 314.5)
XYZxyz(14.5723, 7.7664, 31.7354)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A249B #459B24
analogous
#3E249B #7A249B #9B2481
triadic
#7A249B #9B7A24 #249B7A
tetradic
#7A249B #9B3E24 #459B24 #24819B
square
#7A249B #9B3E24 #459B24 #24819B
split-complementary
#7A249B #819B24 #249B3E
monochromatic
#2C0D38 #531869 #7A249B #A130CD #B85FDA

Accessibility & contrast

On white

8.22
#7A249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7A249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A249B
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A249B#FFFFFF#000000##FFFFFF
##7A249B1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#1D5198
Tritanopia (blue-blind)
#773F5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a249b;
/* rgb */ color: rgb(122, 36, 155);
/* oklch */ color: oklch(45.1% 0.187 314.5);
Tailwind
colors: {
  custom: {
    50: '#a568b9',
    500: '#7a249b',
    950: '#000000',
  },
}
SCSS
$custom: #7a249b;
$custom-light: #a568b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a249b",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 283.361,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45088,
    "c": 0.18714,
    "h": 314.5
  },
  "luminance": 0.07766
}

Semantic roles & 50–950 ramp

primary
#7A249B
secondary
#77BF5C
accent
#E54270
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A249B

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

Preview Lab → · Contrast checker → · Palette generator →

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