#7F249A#7F249A

#7F249A is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.188 H 317.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7F249A
RGBrgb(127, 36, 154)
HSLhsl(286, 62%, 37%)
HSVhsv(286, 77%, 60%)
CMYKcmyk(17.5%, 76.6%, 0%, 39.6%)
CIE-LABlab(34.21, 55.08, -45.47)
CIE-LCHlch(34.21, 71.43, 320.46°)
OKLaboklab(45.73% 0.1378 -0.128)
OKLCHoklch(45.73% 0.188 317.1)
XYZxyz(15.2151, 8.1075, 31.3290)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F249A #3F9A24
analogous
#44249A #7F249A #9A247A
triadic
#7F249A #9A7F24 #249A7F
tetradic
#7F249A #9A4424 #3F9A24 #247A9A
square
#7F249A #9A4424 #3F9A24 #247A9A
split-complementary
#7F249A #7A9A24 #249A44
monochromatic
#2D0D37 #561868 #7F249A #A830CC #BD5FDA

Accessibility & contrast

On white

8.01
#7F249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7F249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F249A
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F249A#FFFFFF#000000##FFFFFF
##7F249A1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#265397
Tritanopia (blue-blind)
#7E3E5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7f249a;
/* rgb */ color: rgb(127, 36, 154);
/* oklch */ color: oklch(45.7% 0.188 317.1);
Tailwind
colors: {
  custom: {
    50: '#a869b8',
    500: '#7f249a',
    950: '#000000',
  },
}
SCSS
$custom: #7f249a;
$custom-light: #a869b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f249a",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 286.271,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45729,
    "c": 0.18805,
    "h": 317.1
  },
  "luminance": 0.08107
}

Semantic roles & 50–950 ramp

primary
#7F249A
secondary
#72BF5B
accent
#E54368
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F249A

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

Preview Lab → · Contrast checker → · Palette generator →

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