#7F249F#7F249F

#7F249F is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.193 H 315.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#7F249F
RGBrgb(127, 36, 159)
HSLhsl(284, 63%, 38%)
HSVhsv(284, 77%, 62%)
CMYKcmyk(20.1%, 77.4%, 0%, 37.6%)
CIE-LABlab(34.55, 56.09, -47.95)
CIE-LCHlch(34.55, 73.79, 319.47°)
OKLaboklab(46.09% 0.1371 -0.1352)
OKLCHoklch(46.09% 0.193 315.4)
XYZxyz(15.6403, 8.2776, 33.5680)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F249F #449F24
analogous
#41249F #7F249F #9F2481
triadic
#7F249F #9F7F24 #249F7F
tetradic
#7F249F #9F4124 #449F24 #24819F
square
#7F249F #9F4124 #449F24 #24819F
split-complementary
#7F249F #819F24 #249F41
monochromatic
#2F0D3B #57196D #7F249F #A630D0 #BC62DB

Accessibility & contrast

On white

7.91
#7F249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7F249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F249F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F249F#FFFFFF#000000##FFFFFF
##7F249F1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#20549C
Tritanopia (blue-blind)
#7C4061
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7f249f;
/* rgb */ color: rgb(127, 36, 159);
/* oklch */ color: oklch(46.1% 0.193 315.4);
Tailwind
colors: {
  custom: {
    50: '#a869bc',
    500: '#7f249f',
    950: '#000000',
  },
}
SCSS
$custom: #7f249f;
$custom-light: #a869bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f249f",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 284.39,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46086,
    "c": 0.19255,
    "h": 315.4
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#7F249F
secondary
#78C15E
accent
#E6426C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7F249F

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

Preview Lab → · Contrast checker → · Palette generator →

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