#7C259C#7C259C

#7C259C is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.188 H 315.0°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7C259C
RGBrgb(124, 37, 156)
HSLhsl(284, 62%, 38%)
HSVhsv(284, 76%, 61%)
CMYKcmyk(20.5%, 76.3%, 0%, 38.8%)
CIE-LABlab(34.00, 54.52, -47.04)
CIE-LCHlch(34.00, 72.01, 319.21°)
OKLaboklab(45.53% 0.1327 -0.1327)
OKLCHoklch(45.53% 0.188 315)
XYZxyz(14.9735, 8.0091, 32.2032)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C259C #459C25
analogous
#41259C #7C259C #9C2580
triadic
#7C259C #9C7C25 #259C7C
tetradic
#7C259C #9C4125 #459C25 #25809C
square
#7C259C #9C4125 #459C25 #25809C
split-complementary
#7C259C #809C25 #259C41
monochromatic
#2D0E39 #55196B #7C259C #A331CD #B962DA

Accessibility & contrast

On white

8.07
#7C259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7C259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C259C
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C259C#FFFFFF#000000##FFFFFF
##7C259C1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#205299
Tritanopia (blue-blind)
#79405F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c259c;
/* rgb */ color: rgb(124, 37, 156);
/* oklch */ color: oklch(45.5% 0.188 315.0);
Tailwind
colors: {
  custom: {
    50: '#a669ba',
    500: '#7c259c',
    950: '#000000',
  },
}
SCSS
$custom: #7c259c;
$custom-light: #a669ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7c259c",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 283.866,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45534,
    "c": 0.18769,
    "h": 315
  },
  "luminance": 0.08009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C259C

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

Preview Lab → · Contrast checker → · Palette generator →

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