#7D289C#7D289C

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

Color values

HEX#7D289C
RGBrgb(125, 40, 156)
HSLhsl(284, 59%, 38%)
HSVhsv(284, 74%, 61%)
CMYKcmyk(19.9%, 74.4%, 0%, 38.8%)
CIE-LABlab(34.56, 53.58, -46.14)
CIE-LCHlch(34.56, 70.71, 319.27°)
OKLaboklab(45.96% 0.1311 -0.13)
OKLCHoklch(45.96% 0.185 315.2)
XYZxyz(15.2160, 8.2784, 32.2424)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D289C #479C28
analogous
#43289C #7D289C #9C2881
triadic
#7D289C #9C7D28 #289C7D
tetradic
#7D289C #9C4328 #479C28 #28819C
square
#7D289C #9C4328 #479C28 #28819C
split-complementary
#7D289C #819C28 #289C43
monochromatic
#2F0F3B #561C6B #7D289C #A336CB #BA67D8

Accessibility & contrast

On white

7.91
#7D289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7D289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D289C
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D289C#FFFFFF#000000##FFFFFF
##7D289C1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#245399
Tritanopia (blue-blind)
#7B4160
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d289c;
/* rgb */ color: rgb(125, 40, 156);
/* oklch */ color: oklch(46.0% 0.185 315.2);
Tailwind
colors: {
  custom: {
    50: '#a66bba',
    500: '#7d289c',
    950: '#000000',
  },
}
SCSS
$custom: #7d289c;
$custom-light: #a66bba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d289c",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 283.966,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45958,
    "c": 0.18468,
    "h": 315.2
  },
  "luminance": 0.08278
}

Semantic roles & 50–950 ramp

primary
#7D289C
secondary
#7ABE62
accent
#E2456F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D289C

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

Preview Lab → · Contrast checker → · Palette generator →

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