#7E259A#7E259A

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

Color values

HEX#7E259A
RGBrgb(126, 37, 154)
HSLhsl(286, 61%, 37%)
HSVhsv(286, 76%, 60%)
CMYKcmyk(18.2%, 76%, 0%, 39.6%)
CIE-LABlab(34.17, 54.52, -45.53)
CIE-LCHlch(34.17, 71.03, 320.13°)
OKLaboklab(45.68% 0.1356 -0.1282)
OKLCHoklch(45.68% 0.187 316.6)
XYZxyz(15.0976, 8.0925, 31.3323)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E259A #419A25
analogous
#43259A #7E259A #9A257C
triadic
#7E259A #9A7E25 #259A7E
tetradic
#7E259A #9A4325 #419A25 #257C9A
square
#7E259A #9A4325 #419A25 #257C9A
split-complementary
#7E259A #7C9A25 #259A43
monochromatic
#2D0D37 #561969 #7E259A #A631CB #BC60D9

Accessibility & contrast

On white

8.02
#7E259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E259A
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E259A#FFFFFF#000000##FFFFFF
##7E259A1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#255397
Tritanopia (blue-blind)
#7C3E5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7e259a;
/* rgb */ color: rgb(126, 37, 154);
/* oklch */ color: oklch(45.7% 0.187 316.6);
Tailwind
colors: {
  custom: {
    50: '#a769b8',
    500: '#7e259a',
    950: '#000000',
  },
}
SCSS
$custom: #7e259a;
$custom-light: #a769b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e259a",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 285.641,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45675,
    "c": 0.18659,
    "h": 316.6
  },
  "luminance": 0.08092
}

Semantic roles & 50–950 ramp

primary
#7E259A
secondary
#74BE5D
accent
#E4436A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E259A

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

Preview Lab → · Contrast checker → · Palette generator →

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