#7B289F#7B289F

#7B289F is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.187 H 313.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7B289F
RGBrgb(123, 40, 159)
HSLhsl(282, 60%, 39%)
HSVhsv(282, 75%, 62%)
CMYKcmyk(22.6%, 74.8%, 0%, 37.6%)
CIE-LABlab(34.46, 53.79, -48.13)
CIE-LCHlch(34.46, 72.18, 318.18°)
OKLaboklab(45.9% 0.1281 -0.1359)
OKLCHoklch(45.9% 0.187 313.3)
XYZxyz(15.1841, 8.2322, 33.5833)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B289F #4C9F28
analogous
#40289F #7B289F #9F2888
triadic
#7B289F #9F7B28 #289F7B
tetradic
#7B289F #9F4028 #4C9F28 #28889F
square
#7B289F #9F4028 #4C9F28 #28889F
split-complementary
#7B289F #889F28 #289F40
monochromatic
#2F0F3D #551C6E #7B289F #A037CD #B768D9

Accessibility & contrast

On white

7.94
#7B289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7B289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B289F
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B289F#FFFFFF#000000##FFFFFF
##7B289F1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#1D539C
Tritanopia (blue-blind)
#774362
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b289f;
/* rgb */ color: rgb(123, 40, 159);
/* oklch */ color: oklch(45.9% 0.187 313.3);
Tailwind
colors: {
  custom: {
    50: '#a56bbc',
    500: '#7b289f',
    950: '#000000',
  },
}
SCSS
$custom: #7b289f;
$custom-light: #a56bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b289f",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 281.849,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45896,
    "c": 0.18679,
    "h": 313.3
  },
  "luminance": 0.08232
}

Semantic roles & 50–950 ramp

primary
#7B289F
secondary
#7FBF64
accent
#E34575
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B289F

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

Preview Lab → · Contrast checker → · Palette generator →

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