#7C259A#7C259A

#7C259A is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.186 H 315.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7C259A
RGBrgb(124, 37, 154)
HSLhsl(285, 61%, 37%)
HSVhsv(285, 76%, 60%)
CMYKcmyk(19.5%, 76%, 0%, 39.6%)
CIE-LABlab(33.86, 54.11, -46.05)
CIE-LCHlch(33.86, 71.05, 319.60°)
OKLaboklab(45.39% 0.133 -0.1298)
OKLCHoklch(45.39% 0.186 315.7)
XYZxyz(14.8056, 7.9419, 31.3186)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C259A #439A25
analogous
#41259A #7C259A #9A257E
triadic
#7C259A #9A7C25 #259A7C
tetradic
#7C259A #9A4125 #439A25 #257E9A
square
#7C259A #9A4125 #439A25 #257E9A
split-complementary
#7C259A #7E9A25 #259A41
monochromatic
#2D0D37 #541969 #7C259A #A431CB #BA60D9

Accessibility & contrast

On white

8.11
#7C259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7C259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C259A
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C259A#FFFFFF#000000##FFFFFF
##7C259A1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c259a;
/* rgb */ color: rgb(124, 37, 154);
/* oklch */ color: oklch(45.4% 0.186 315.7);
Tailwind
colors: {
  custom: {
    50: '#a669b8',
    500: '#7c259a',
    950: '#000000',
  },
}
SCSS
$custom: #7c259a;
$custom-light: #a669b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c259a",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 284.615,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45391,
    "c": 0.18584,
    "h": 315.7
  },
  "luminance": 0.07941
}

Semantic roles & 50–950 ramp

primary
#7C259A
secondary
#76BE5D
accent
#E4436D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C259A

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

Preview Lab → · Contrast checker → · Palette generator →

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