#7B289C#7B289C

#7B289C is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.184 H 314.3°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7B289C
RGBrgb(123, 40, 156)
HSLhsl(283, 59%, 38%)
HSVhsv(283, 74%, 61%)
CMYKcmyk(21.2%, 74.4%, 0%, 38.8%)
CIE-LABlab(34.25, 53.16, -46.65)
CIE-LCHlch(34.25, 70.73, 318.73°)
OKLaboklab(45.68% 0.1285 -0.1316)
OKLCHoklch(45.68% 0.184 314.3)
XYZxyz(14.9269, 8.1293, 32.2289)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B289C #499C28
analogous
#41289C #7B289C #9C2883
triadic
#7B289C #9C7B28 #289C7B
tetradic
#7B289C #9C4128 #499C28 #28839C
square
#7B289C #9C4128 #499C28 #28839C
split-complementary
#7B289C #839C28 #289C41
monochromatic
#2E0F3B #551C6B #7B289C #A136CB #B867D8

Accessibility & contrast

On white

8.00
#7B289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7B289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B289C
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B289C#FFFFFF#000000##FFFFFF
##7B289C1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#215399
Tritanopia (blue-blind)
#784160
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b289c;
/* rgb */ color: rgb(123, 40, 156);
/* oklch */ color: oklch(45.7% 0.184 314.3);
Tailwind
colors: {
  custom: {
    50: '#a56aba',
    500: '#7b289c',
    950: '#000000',
  },
}
SCSS
$custom: #7b289c;
$custom-light: #a56aba;
$custom-dark: #000000;
JSON
{
  "hex": "#7b289c",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 282.931,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4568,
    "c": 0.18396,
    "h": 314.3
  },
  "luminance": 0.08129
}

Semantic roles & 50–950 ramp

primary
#7B289C
secondary
#7CBE62
accent
#E24572
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B289C

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

Preview Lab → · Contrast checker → · Palette generator →

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