#7B188F#7B188F

#7B188F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.4% C 0.189 H 319.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#7B188F
RGBrgb(123, 24, 143)
HSLhsl(290, 71%, 33%)
HSVhsv(290, 83%, 56%)
CMYKcmyk(14%, 83.2%, 0%, 43.9%)
CIE-LABlab(31.46, 56.01, -43.19)
CIE-LCHlch(31.46, 70.73, 322.36°)
OKLaboklab(43.42% 0.1444 -0.1214)
OKLCHoklch(43.42% 0.189 319.9)
XYZxyz(13.4523, 6.8481, 26.5945)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B188F #2C8F18
analogous
#40188F #7B188F #8F1867
triadic
#7B188F #8F7B18 #188F7B
tetradic
#7B188F #8F4018 #2C8F18 #18678F
square
#7B188F #8F4018 #2C8F18 #18678F
split-complementary
#7B188F #678F18 #188F40
monochromatic
#210626 #4E0F5B #7B188F #A821C3 #C542DF

Accessibility & contrast

On white

8.86
#7B188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7B188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B188F
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B188F#FFFFFF#000000##FFFFFF
##7B188F1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#244D8C
Tritanopia (blue-blind)
#7B3355
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b188f;
/* rgb */ color: rgb(123, 24, 143);
/* oklch */ color: oklch(43.4% 0.189 319.9);
Tailwind
colors: {
  custom: {
    50: '#a563b0',
    500: '#7b188f',
    950: '#000000',
  },
}
SCSS
$custom: #7b188f;
$custom-light: #a563b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b188f",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 289.916,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43418,
    "c": 0.18859,
    "h": 319.9
  },
  "luminance": 0.06847
}

Semantic roles & 50–950 ramp

primary
#7B188F
secondary
#58C043
accent
#EE3A58
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7B188F

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

Preview Lab → · Contrast checker → · Palette generator →

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