#7B1890#7B1890

#7B1890 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.189 H 319.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7B1890
RGBrgb(123, 24, 144)
HSLhsl(290, 71%, 33%)
HSVhsv(290, 83%, 56%)
CMYKcmyk(14.6%, 83.3%, 0%, 43.5%)
CIE-LABlab(31.53, 56.19, -43.70)
CIE-LCHlch(31.53, 71.18, 322.13°)
OKLaboklab(43.49% 0.1442 -0.1228)
OKLCHoklch(43.49% 0.189 319.6)
XYZxyz(13.5284, 6.8785, 26.9953)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1890 #2D9018
analogous
#3F1890 #7B1890 #901869
triadic
#7B1890 #907B18 #18907B
tetradic
#7B1890 #903F18 #2D9018 #186990
square
#7B1890 #903F18 #2D9018 #186990
split-complementary
#7B1890 #699018 #18903F
monochromatic
#210727 #4E0F5C #7B1890 #A821C4 #C443E0

Accessibility & contrast

On white

8.84
#7B1890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7B1890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1890
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1890#FFFFFF#000000##FFFFFF
##7B18901.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#234D8D
Tritanopia (blue-blind)
#7B3456
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b1890;
/* rgb */ color: rgb(123, 24, 144);
/* oklch */ color: oklch(43.5% 0.189 319.6);
Tailwind
colors: {
  custom: {
    50: '#a563b1',
    500: '#7b1890',
    950: '#000000',
  },
}
SCSS
$custom: #7b1890;
$custom-light: #a563b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1890",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 289.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4349,
    "c": 0.18942,
    "h": 319.6
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#7B1890
secondary
#59C043
accent
#EE3A59
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7B1890

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

Preview Lab → · Contrast checker → · Palette generator →

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