#7B289A#7B289A

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

Color values

HEX#7B289A
RGBrgb(123, 40, 154)
HSLhsl(284, 59%, 38%)
HSVhsv(284, 74%, 60%)
CMYKcmyk(20.1%, 74%, 0%, 39.6%)
CIE-LABlab(34.11, 52.75, -45.66)
CIE-LCHlch(34.11, 69.76, 319.12°)
OKLaboklab(45.54% 0.1288 -0.1287)
OKLCHoklch(45.54% 0.182 315)
XYZxyz(14.7590, 8.0622, 31.3443)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B289A #479A28
analogous
#42289A #7B289A #9A2880
triadic
#7B289A #9A7B28 #289A7B
tetradic
#7B289A #9A4228 #479A28 #28809A
square
#7B289A #9A4228 #479A28 #28809A
split-complementary
#7B289A #809A28 #289A42
monochromatic
#2D0F39 #541B69 #7B289A #A235CA #B865D7

Accessibility & contrast

On white

8.04
#7B289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7B289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B289A
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B289A#FFFFFF#000000##FFFFFF
##7B289A1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#245297
Tritanopia (blue-blind)
#78405F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b289a;
/* rgb */ color: rgb(123, 40, 154);
/* oklch */ color: oklch(45.5% 0.182 315.0);
Tailwind
colors: {
  custom: {
    50: '#a56ab8',
    500: '#7b289a',
    950: '#000000',
  },
}
SCSS
$custom: #7b289a;
$custom-light: #a56ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b289a",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 283.684,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45537,
    "c": 0.18207,
    "h": 315
  },
  "luminance": 0.08062
}

Semantic roles & 50–950 ramp

primary
#7B289A
secondary
#7ABD61
accent
#E24670
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B289A

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

Preview Lab → · Contrast checker → · Palette generator →

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