#7D259C#7D259C

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

Color values

HEX#7D259C
RGBrgb(125, 37, 156)
HSLhsl(284, 62%, 38%)
HSVhsv(284, 76%, 61%)
CMYKcmyk(19.9%, 76.3%, 0%, 38.8%)
CIE-LABlab(34.16, 54.72, -46.78)
CIE-LCHlch(34.16, 71.99, 319.47°)
OKLaboklab(45.68% 0.134 -0.1319)
OKLCHoklch(45.68% 0.188 315.5)
XYZxyz(15.1188, 8.0840, 32.2100)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D259C #449C25
analogous
#42259C #7D259C #9C257F
triadic
#7D259C #9C7D25 #259C7D
tetradic
#7D259C #9C4225 #449C25 #257F9C
square
#7D259C #9C4225 #449C25 #257F9C
split-complementary
#7D259C #7F9C25 #259C42
monochromatic
#2E0E39 #55196B #7D259C #A531CD #BA62DA

Accessibility & contrast

On white

8.03
#7D259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D259C
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D259C#FFFFFF#000000##FFFFFF
##7D259C1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d259c;
/* rgb */ color: rgb(125, 37, 156);
/* oklch */ color: oklch(45.7% 0.188 315.5);
Tailwind
colors: {
  custom: {
    50: '#a769ba',
    500: '#7d259c',
    950: '#000000',
  },
}
SCSS
$custom: #7d259c;
$custom-light: #a769ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d259c",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 284.37,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45676,
    "c": 0.18805,
    "h": 315.5
  },
  "luminance": 0.08083
}

Semantic roles & 50–950 ramp

primary
#7D259C
secondary
#77BF5E
accent
#E5436D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D259C

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

Preview Lab → · Contrast checker → · Palette generator →

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