#7B189F#7B189F

#7B189F is a dark, highly saturated purple. Relative luminance 0.074; OKLCH L 44.6% C 0.202 H 314.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7B189F
RGBrgb(123, 24, 159)
HSLhsl(284, 74%, 36%)
HSVhsv(284, 85%, 62%)
CMYKcmyk(22.6%, 84.9%, 0%, 37.6%)
CIE-LABlab(32.63, 59.09, -51.09)
CIE-LCHlch(32.63, 78.11, 319.15°)
OKLaboklab(44.61% 0.1412 -0.1446)
OKLCHoklch(44.61% 0.202 314.3)
XYZxyz(14.7519, 7.3680, 33.4392)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B189F #3C9F18
analogous
#37189F #7B189F #9F187F
triadic
#7B189F #9F7B18 #189F7B
tetradic
#7B189F #9F3718 #3C9F18 #187F9F
square
#7B189F #9F3718 #3C9F18 #187F9F
split-complementary
#7B189F #7F9F18 #189F37
monochromatic
#290835 #52106A #7B189F #A420D4 #BC4DE4

Accessibility & contrast

On white

8.49
#7B189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7B189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B189F
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B189F#FFFFFF#000000##FFFFFF
##7B189F1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#054F9C
Tritanopia (blue-blind)
#773B5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b189f;
/* rgb */ color: rgb(123, 24, 159);
/* oklch */ color: oklch(44.6% 0.202 314.3);
Tailwind
colors: {
  custom: {
    50: '#a664bc',
    500: '#7b189f',
    950: '#000000',
  },
}
SCSS
$custom: #7b189f;
$custom-light: #a664bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b189f",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 284,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44609,
    "c": 0.20205,
    "h": 314.3
  },
  "luminance": 0.07367
}

Semantic roles & 50–950 ramp

primary
#7B189F
secondary
#6DC64D
accent
#F03769
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7B189F

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

Preview Lab → · Contrast checker → · Palette generator →

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