#7D259A#7D259A

#7D259A is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.186 H 316.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7D259A
RGBrgb(125, 37, 154)
HSLhsl(285, 61%, 37%)
HSVhsv(285, 76%, 60%)
CMYKcmyk(18.8%, 76%, 0%, 39.6%)
CIE-LABlab(34.02, 54.31, -45.79)
CIE-LCHlch(34.02, 71.04, 319.86°)
OKLaboklab(45.53% 0.1343 -0.129)
OKLCHoklch(45.53% 0.186 316.1)
XYZxyz(14.9508, 8.0168, 31.3254)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D259A #429A25
analogous
#42259A #7D259A #9A257D
triadic
#7D259A #9A7D25 #259A7D
tetradic
#7D259A #9A4225 #429A25 #257D9A
square
#7D259A #9A4225 #429A25 #257D9A
split-complementary
#7D259A #7D9A25 #259A42
monochromatic
#2D0D37 #551969 #7D259A #A531CB #BB60D9

Accessibility & contrast

On white

8.07
#7D259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7D259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D259A
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D259A#FFFFFF#000000##FFFFFF
##7D259A1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d259a;
/* rgb */ color: rgb(125, 37, 154);
/* oklch */ color: oklch(45.5% 0.186 316.1);
Tailwind
colors: {
  custom: {
    50: '#a769b8',
    500: '#7d259a',
    950: '#000000',
  },
}
SCSS
$custom: #7d259a;
$custom-light: #a769b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d259a",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 285.128,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45533,
    "c": 0.18622,
    "h": 316.1
  },
  "luminance": 0.08016
}

Semantic roles & 50–950 ramp

primary
#7D259A
secondary
#75BE5D
accent
#E4436B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D259A

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

Preview Lab → · Contrast checker → · Palette generator →

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