#7B149F#7B149F

#7B149F is a dark, highly saturated purple. Relative luminance 0.072; OKLCH L 44.4% C 0.205 H 314.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7B149F
RGBrgb(123, 20, 159)
HSLhsl(284, 78%, 35%)
HSVhsv(284, 87%, 62%)
CMYKcmyk(22.6%, 87.4%, 0%, 37.6%)
CIE-LABlab(32.29, 60.09, -51.64)
CIE-LCHlch(32.29, 79.23, 319.32°)
OKLaboklab(44.37% 0.1436 -0.1461)
OKLCHoklch(44.37% 0.205 314.5)
XYZxyz(14.6755, 7.2150, 33.4138)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B149F #389F14
analogous
#35149F #7B149F #9F147E
triadic
#7B149F #9F7B14 #149F7B
tetradic
#7B149F #9F3514 #389F14 #147E9F
square
#7B149F #9F3514 #389F14 #147E9F
split-complementary
#7B149F #7E9F14 #149F35
monochromatic
#270632 #510D69 #7B149F #A51BD5 #BE46E8

Accessibility & contrast

On white

8.60
#7B149F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7B149F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B149F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B149F#FFFFFF#000000##FFFFFF
##7B149F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#783A5E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b149f;
/* rgb */ color: rgb(123, 20, 159);
/* oklch */ color: oklch(44.4% 0.205 314.5);
Tailwind
colors: {
  custom: {
    50: '#a663bc',
    500: '#7b149f',
    950: '#000000',
  },
}
SCSS
$custom: #7b149f;
$custom-light: #a663bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b149f",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 159
  },
  "hsl": {
    "h": 284.46,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44373,
    "c": 0.20491,
    "h": 314.5
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

primary
#7B149F
secondary
#68C846
accent
#F43465
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7B149F

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

Preview Lab → · Contrast checker → · Palette generator →

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