#7B146F#7B146F

#7B146F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.167 H 333.7°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7B146F
RGBrgb(123, 20, 111)
HSLhsl(307, 72%, 28%)
HSVhsv(307, 84%, 48%)
CMYKcmyk(0%, 83.7%, 9.8%, 51.8%)
CIE-LABlab(29.06, 51.56, -26.91)
CIE-LCHlch(29.06, 58.16, 332.44°)
OKLaboklab(41.07% 0.1496 -0.0739)
OKLCHoklch(41.07% 0.167 333.7)
XYZxyz(11.2879, 5.8600, 15.5724)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B146F #147B20
analogous
#53147B #7B146F #7B143C
triadic
#7B146F #6F7B14 #146F7B
tetradic
#7B146F #7B5314 #147B20 #143C7B
square
#7B146F #7B5314 #147B20 #143C7B
split-complementary
#7B146F #3C7B14 #147B53
monochromatic
#1A0418 #460B3F #7B146F #B01D9F #DD2DC8

Accessibility & contrast

On white

9.67
#7B146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7B146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B146F
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B146F#FFFFFF#000000##FFFFFF
##7B146F1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3B71
Deuteranopia (green-blind)
#3A4A6D
Tritanopia (blue-blind)
#812042
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b146f;
/* rgb */ color: rgb(123, 20, 111);
/* oklch */ color: oklch(41.1% 0.167 333.7);
Tailwind
colors: {
  custom: {
    50: '#a56098',
    500: '#7b146f',
    950: '#000000',
  },
}
SCSS
$custom: #7b146f;
$custom-light: #a56098;
$custom-dark: #000000;
JSON
{
  "hex": "#7b146f",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 306.99,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41067,
    "c": 0.16682,
    "h": 333.7
  },
  "luminance": 0.05859
}

Semantic roles & 50–950 ramp

primary
#7B146F
secondary
#3AB148
accent
#EF4E39
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7B146F

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

Preview Lab → · Contrast checker → · Palette generator →

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