#7C259B#7C259B

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

Color values

HEX#7C259B
RGBrgb(124, 37, 155)
HSLhsl(284, 61%, 38%)
HSVhsv(284, 76%, 61%)
CMYKcmyk(20%, 76.1%, 0%, 39.2%)
CIE-LABlab(33.93, 54.31, -46.55)
CIE-LCHlch(33.93, 71.53, 319.40°)
OKLaboklab(45.46% 0.1329 -0.1313)
OKLCHoklch(45.46% 0.187 315.3)
XYZxyz(14.8892, 7.9753, 31.7591)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C259B #449B25
analogous
#41259B #7C259B #9B257F
triadic
#7C259B #9B7C25 #259B7C
tetradic
#7C259B #9B4125 #449B25 #257F9B
square
#7C259B #9B4125 #449B25 #257F9B
split-complementary
#7C259B #7F9B25 #259B41
monochromatic
#2D0D38 #54196A #7C259B #A431CC #BA61D9

Accessibility & contrast

On white

8.09
#7C259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C259B
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C259B#FFFFFF#000000##FFFFFF
##7C259B1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#215298
Tritanopia (blue-blind)
#7A3F5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c259b;
/* rgb */ color: rgb(124, 37, 155);
/* oklch */ color: oklch(45.5% 0.187 315.3);
Tailwind
colors: {
  custom: {
    50: '#a669b9',
    500: '#7c259b',
    950: '#000000',
  },
}
SCSS
$custom: #7c259b;
$custom-light: #a669b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c259b",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 284.237,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45462,
    "c": 0.18676,
    "h": 315.3
  },
  "luminance": 0.07975
}

Semantic roles & 50–950 ramp

primary
#7C259B
secondary
#77BF5D
accent
#E5436E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C259B

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

Preview Lab → · Contrast checker → · Palette generator →

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