#7B249A#7B249A

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

Color values

HEX#7B249A
RGBrgb(123, 36, 154)
HSLhsl(284, 62%, 37%)
HSVhsv(284, 77%, 60%)
CMYKcmyk(20.1%, 76.6%, 0%, 39.6%)
CIE-LABlab(33.58, 54.28, -46.52)
CIE-LCHlch(33.58, 71.48, 319.40°)
OKLaboklab(45.16% 0.1327 -0.1312)
OKLCHoklch(45.16% 0.187 315.3)
XYZxyz(14.6310, 7.8064, 31.3017)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B249A #439A24
analogous
#40249A #7B249A #9A247E
triadic
#7B249A #9A7B24 #249A7B
tetradic
#7B249A #9A4024 #439A24 #247E9A
square
#7B249A #9A4024 #439A24 #247E9A
split-complementary
#7B249A #7E9A24 #249A40
monochromatic
#2C0D37 #531868 #7B249A #A330CC #B95FDA

Accessibility & contrast

On white

8.20
#7B249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7B249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B249A
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B249A#FFFFFF#000000##FFFFFF
##7B249A1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#205197
Tritanopia (blue-blind)
#793E5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b249a;
/* rgb */ color: rgb(123, 36, 154);
/* oklch */ color: oklch(45.2% 0.187 315.3);
Tailwind
colors: {
  custom: {
    50: '#a569b8',
    500: '#7b249a',
    950: '#000000',
  },
}
SCSS
$custom: #7b249a;
$custom-light: #a569b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b249a",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 284.237,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45157,
    "c": 0.18657,
    "h": 315.3
  },
  "luminance": 0.07806
}

Semantic roles & 50–950 ramp

primary
#7B249A
secondary
#75BF5B
accent
#E5436D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B249A

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

Preview Lab → · Contrast checker → · Palette generator →

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