#7D259B#7D259B

#7D259B is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.187 H 315.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7D259B
RGBrgb(125, 37, 155)
HSLhsl(285, 61%, 38%)
HSVhsv(285, 76%, 61%)
CMYKcmyk(19.4%, 76.1%, 0%, 39.2%)
CIE-LABlab(34.09, 54.51, -46.29)
CIE-LCHlch(34.09, 71.52, 319.66°)
OKLaboklab(45.6% 0.1342 -0.1305)
OKLCHoklch(45.6% 0.187 315.8)
XYZxyz(15.0345, 8.0503, 31.7659)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D259B #439B25
analogous
#42259B #7D259B #9B257E
triadic
#7D259B #9B7D25 #259B7D
tetradic
#7D259B #9B4225 #439B25 #257E9B
square
#7D259B #9B4225 #439B25 #257E9B
split-complementary
#7D259B #7E9B25 #259B42
monochromatic
#2D0D38 #55196A #7D259B #A531CC #BB61D9

Accessibility & contrast

On white

8.05
#7D259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7D259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D259B
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D259B#FFFFFF#000000##FFFFFF
##7D259B1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#235298
Tritanopia (blue-blind)
#7B3F5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d259b;
/* rgb */ color: rgb(125, 37, 155);
/* oklch */ color: oklch(45.6% 0.187 315.8);
Tailwind
colors: {
  custom: {
    50: '#a769b9',
    500: '#7d259b',
    950: '#000000',
  },
}
SCSS
$custom: #7d259b;
$custom-light: #a769b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d259b",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 284.746,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45604,
    "c": 0.18713,
    "h": 315.8
  },
  "luminance": 0.0805
}

Semantic roles & 50–950 ramp

primary
#7D259B
secondary
#76BF5D
accent
#E5436C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D259B

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

Preview Lab → · Contrast checker → · Palette generator →

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