#7C108D#7C108D

#7C108D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 43.0% C 0.193 H 321.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#7C108D
RGBrgb(124, 16, 141)
HSLhsl(292, 80%, 31%)
HSVhsv(292, 89%, 55%)
CMYKcmyk(12.1%, 88.7%, 0%, 44.7%)
CIE-LABlab(30.83, 57.76, -42.96)
CIE-LCHlch(30.83, 71.98, 323.36°)
OKLaboklab(42.97% 0.151 -0.1206)
OKLCHoklch(42.97% 0.193 321.4)
XYZxyz(13.3046, 6.5795, 25.7633)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C108D #218D10
analogous
#3D108D #7C108D #8D105F
triadic
#7C108D #8D7C10 #108D7C
tetradic
#7C108D #8D3D10 #218D10 #105F8D
square
#7C108D #8D3D10 #218D10 #105F8D
split-complementary
#7C108D #5F8D10 #108D3D
monochromatic
#1B041F #4C0A56 #7C108D #AC16C4 #CF30E7

Accessibility & contrast

On white

9.07
#7C108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7C108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C108D
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C108D#FFFFFF#000000##FFFFFF
##7C108D1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#244C8A
Tritanopia (blue-blind)
#7D2F53
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c108d;
/* rgb */ color: rgb(124, 16, 141);
/* oklch */ color: oklch(43.0% 0.193 321.4);
Tailwind
colors: {
  custom: {
    50: '#a661af',
    500: '#7c108d',
    950: '#000000',
  },
}
SCSS
$custom: #7c108d;
$custom-light: #a661af;
$custom-dark: #000000;
JSON
{
  "hex": "#7c108d",
  "rgb": {
    "r": 124,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 291.84,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42966,
    "c": 0.19326,
    "h": 321.4
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#7C108D
secondary
#4AC237
accent
#F6324C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C108D

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

Preview Lab → · Contrast checker → · Palette generator →

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