#7E259F#7E259F

#7E259F is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.191 H 314.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7E259F
RGBrgb(126, 37, 159)
HSLhsl(284, 62%, 38%)
HSVhsv(284, 77%, 62%)
CMYKcmyk(20.8%, 76.7%, 0%, 37.6%)
CIE-LABlab(34.52, 55.53, -48.00)
CIE-LCHlch(34.52, 73.40, 319.16°)
OKLaboklab(46.03% 0.1349 -0.1355)
OKLCHoklch(46.03% 0.191 314.9)
XYZxyz(15.5227, 8.2625, 33.5713)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E259F #469F25
analogous
#41259F #7E259F #9F2583
triadic
#7E259F #9F7E25 #259F7E
tetradic
#7E259F #9F4125 #469F25 #25839F
square
#7E259F #9F4125 #469F25 #25839F
split-complementary
#7E259F #839F25 #259F41
monochromatic
#2F0E3C #57196D #7E259F #A532CF #BB64DB

Accessibility & contrast

On white

7.92
#7E259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7E259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E259F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E259F#FFFFFF#000000##FFFFFF
##7E259F1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e259f;
/* rgb */ color: rgb(126, 37, 159);
/* oklch */ color: oklch(46.0% 0.191 314.9);
Tailwind
colors: {
  custom: {
    50: '#a76abc',
    500: '#7e259f',
    950: '#000000',
  },
}
SCSS
$custom: #7e259f;
$custom-light: #a76abc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e259f",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 283.77,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46033,
    "c": 0.19114,
    "h": 314.9
  },
  "luminance": 0.08262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E259F

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

Preview Lab → · Contrast checker → · Palette generator →

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