#7D259E#7D259E

#7D259E is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.190 H 314.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#7D259E
RGBrgb(125, 37, 158)
HSLhsl(284, 62%, 38%)
HSVhsv(284, 77%, 62%)
CMYKcmyk(20.9%, 76.6%, 0%, 38%)
CIE-LABlab(34.30, 55.13, -47.77)
CIE-LCHlch(34.30, 72.94, 319.09°)
OKLaboklab(45.82% 0.1337 -0.1348)
OKLCHoklch(45.82% 0.19 314.8)
XYZxyz(15.2895, 8.1523, 33.1093)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D259E #469E25
analogous
#40259E #7D259E #9E2582
triadic
#7D259E #9E7D25 #259E7D
tetradic
#7D259E #9E4025 #469E25 #25829E
square
#7D259E #9E4025 #469E25 #25829E
split-complementary
#7D259E #829E25 #259E40
monochromatic
#2F0E3B #56196C #7D259E #A431CF #BA63DA

Accessibility & contrast

On white

7.98
#7D259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7D259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D259E
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D259E#FFFFFF#000000##FFFFFF
##7D259E1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#1E539B
Tritanopia (blue-blind)
#7A4060
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d259e;
/* rgb */ color: rgb(125, 37, 158);
/* oklch */ color: oklch(45.8% 0.190 314.8);
Tailwind
colors: {
  custom: {
    50: '#a769bb',
    500: '#7d259e',
    950: '#000000',
  },
}
SCSS
$custom: #7d259e;
$custom-light: #a769bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d259e",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 283.636,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4582,
    "c": 0.18987,
    "h": 314.8
  },
  "luminance": 0.08152
}

Semantic roles & 50–950 ramp

primary
#7D259E
secondary
#79C05F
accent
#E5436F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D259E

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

Preview Lab → · Contrast checker → · Palette generator →

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