#7D259F#7D259F

#7D259F is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.191 H 314.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7D259F
RGBrgb(125, 37, 159)
HSLhsl(283, 62%, 38%)
HSVhsv(283, 77%, 62%)
CMYKcmyk(21.4%, 76.7%, 0%, 37.6%)
CIE-LABlab(34.37, 55.33, -48.26)
CIE-LCHlch(34.37, 73.42, 318.90°)
OKLaboklab(45.89% 0.1336 -0.1362)
OKLCHoklch(45.89% 0.191 314.4)
XYZxyz(15.3760, 8.1869, 33.5644)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D259F #479F25
analogous
#40259F #7D259F #9F2584
triadic
#7D259F #9F7D25 #259F7D
tetradic
#7D259F #9F4025 #479F25 #25849F
square
#7D259F #9F4025 #479F25 #25849F
split-complementary
#7D259F #849F25 #259F40
monochromatic
#2F0E3C #56196D #7D259F #A332CF #BA64DB

Accessibility & contrast

On white

7.96
#7D259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7D259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D259F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D259F#FFFFFF#000000##FFFFFF
##7D259F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#1D539C
Tritanopia (blue-blind)
#7A4161
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d259f;
/* rgb */ color: rgb(125, 37, 159);
/* oklch */ color: oklch(45.9% 0.191 314.4);
Tailwind
colors: {
  custom: {
    50: '#a769bc',
    500: '#7d259f',
    950: '#000000',
  },
}
SCSS
$custom: #7d259f;
$custom-light: #a769bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d259f",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 283.279,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45893,
    "c": 0.19079,
    "h": 314.4
  },
  "luminance": 0.08186
}

Semantic roles & 50–950 ramp

primary
#7D259F
secondary
#7AC05F
accent
#E54270
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D259F

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

Preview Lab → · Contrast checker → · Palette generator →

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