#7B108D#7B108D

#7B108D is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.8% C 0.193 H 321.0°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#7B108D
RGBrgb(123, 16, 141)
HSLhsl(291, 80%, 31%)
HSVhsv(291, 89%, 55%)
CMYKcmyk(12.8%, 88.7%, 0%, 44.7%)
CIE-LABlab(30.65, 57.58, -43.25)
CIE-LCHlch(30.65, 72.02, 323.09°)
OKLaboklab(42.81% 0.1498 -0.1215)
OKLCHoklch(42.81% 0.193 321)
XYZxyz(13.1608, 6.5054, 25.7566)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B108D #228D10
analogous
#3C108D #7B108D #8D1060
triadic
#7B108D #8D7B10 #108D7B
tetradic
#7B108D #8D3C10 #228D10 #10608D
square
#7B108D #8D3C10 #228D10 #10608D
split-complementary
#7B108D #608D10 #108D3C
monochromatic
#1B041F #4B0A56 #7B108D #AB16C4 #CD30E7

Accessibility & contrast

On white

9.13
#7B108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7B108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B108D
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B108D#FFFFFF#000000##FFFFFF
##7B108D1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#234C8A
Tritanopia (blue-blind)
#7C2F53
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b108d;
/* rgb */ color: rgb(123, 16, 141);
/* oklch */ color: oklch(42.8% 0.193 321.0);
Tailwind
colors: {
  custom: {
    50: '#a561af',
    500: '#7b108d',
    950: '#000000',
  },
}
SCSS
$custom: #7b108d;
$custom-light: #a561af;
$custom-dark: #000000;
JSON
{
  "hex": "#7b108d",
  "rgb": {
    "r": 123,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 291.36,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42809,
    "c": 0.19289,
    "h": 321
  },
  "luminance": 0.06505
}

Semantic roles & 50–950 ramp

primary
#7B108D
secondary
#4BC237
accent
#F6324E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B108D

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

Preview Lab → · Contrast checker → · Palette generator →

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