#7D259D#7D259D

#7D259D is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.189 H 315.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7D259D
RGBrgb(125, 37, 157)
HSLhsl(284, 62%, 38%)
HSVhsv(284, 76%, 62%)
CMYKcmyk(20.4%, 76.4%, 0%, 38.4%)
CIE-LABlab(34.23, 54.92, -47.28)
CIE-LCHlch(34.23, 72.47, 319.28°)
OKLaboklab(45.75% 0.1339 -0.1334)
OKLCHoklch(45.75% 0.189 315.1)
XYZxyz(15.2038, 8.1180, 32.6578)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D259D #459D25
analogous
#41259D #7D259D #9D2581
triadic
#7D259D #9D7D25 #259D7D
tetradic
#7D259D #9D4125 #459D25 #25819D
square
#7D259D #9D4125 #459D25 #25819D
split-complementary
#7D259D #819D25 #259D41
monochromatic
#2E0E3A #56196B #7D259D #A431CE #BA62DA

Accessibility & contrast

On white

8.00
#7D259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7D259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D259D
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D259D#FFFFFF#000000##FFFFFF
##7D259D1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#20539A
Tritanopia (blue-blind)
#7A4060
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d259d;
/* rgb */ color: rgb(125, 37, 157);
/* oklch */ color: oklch(45.7% 0.189 315.1);
Tailwind
colors: {
  custom: {
    50: '#a769bb',
    500: '#7d259d',
    950: '#000000',
  },
}
SCSS
$custom: #7d259d;
$custom-light: #a769bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d259d",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 284,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45748,
    "c": 0.18895,
    "h": 315.1
  },
  "luminance": 0.08117
}

Semantic roles & 50–950 ramp

primary
#7D259D
secondary
#78BF5E
accent
#E5436E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D259D

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

Preview Lab → · Contrast checker → · Palette generator →

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