#7F249E#7F249E

#7F249E is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.192 H 315.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7F249E
RGBrgb(127, 36, 158)
HSLhsl(285, 63%, 38%)
HSVhsv(285, 77%, 62%)
CMYKcmyk(19.6%, 77.2%, 0%, 38%)
CIE-LABlab(34.48, 55.88, -47.45)
CIE-LCHlch(34.48, 73.31, 319.66°)
OKLaboklab(46.01% 0.1372 -0.1338)
OKLCHoklch(46.01% 0.192 315.7)
XYZxyz(15.5538, 8.2430, 33.1129)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F249E #439E24
analogous
#42249E #7F249E #9E2480
triadic
#7F249E #9E7F24 #249E7F
tetradic
#7F249E #9E4224 #439E24 #24809E
square
#7F249E #9E4224 #439E24 #24809E
split-complementary
#7F249E #809E24 #249E42
monochromatic
#2F0D3A #57196C #7F249E #A72FD0 #BC61DB

Accessibility & contrast

On white

7.93
#7F249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7F249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F249E
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F249E#FFFFFF#000000##FFFFFF
##7F249E1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#21539B
Tritanopia (blue-blind)
#7D3F60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7f249e;
/* rgb */ color: rgb(127, 36, 158);
/* oklch */ color: oklch(46.0% 0.192 315.7);
Tailwind
colors: {
  custom: {
    50: '#a869bb',
    500: '#7f249e',
    950: '#000000',
  },
}
SCSS
$custom: #7f249e;
$custom-light: #a869bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f249e",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 284.754,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46014,
    "c": 0.19165,
    "h": 315.7
  },
  "luminance": 0.08242
}

Semantic roles & 50–950 ramp

primary
#7F249E
secondary
#77C05E
accent
#E6426C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7F249E

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

Preview Lab → · Contrast checker → · Palette generator →

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