#7B107E#7B107E

#7B107E is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.181 H 326.9°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7B107E
RGBrgb(123, 16, 126)
HSLhsl(298, 77%, 28%)
HSVhsv(298, 87%, 49%)
CMYKcmyk(2.4%, 87.3%, 0%, 50.6%)
CIE-LABlab(29.64, 54.96, -35.52)
CIE-LCHlch(29.64, 65.44, 327.12°)
OKLaboklab(41.77% 0.1519 -0.0989)
OKLCHoklch(41.77% 0.181 326.9)
XYZxyz(12.1194, 6.0888, 20.2716)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B107E #137E10
analogous
#44107E #7B107E #7E104A
triadic
#7B107E #7E7B10 #107E7B
tetradic
#7B107E #7E4410 #137E10 #104A7E
square
#7B107E #7E4410 #137E10 #104A7E
split-complementary
#7B107E #4A7E10 #107E44
monochromatic
#1B031B #460948 #7B107E #B017B4 #DE25E3

Accessibility & contrast

On white

9.47
#7B107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7B107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B107E
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B107E#FFFFFF#000000##FFFFFF
##7B107E1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#304A7C
Tritanopia (blue-blind)
#7F274A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b107e;
/* rgb */ color: rgb(123, 16, 126);
/* oklch */ color: oklch(41.8% 0.181 326.9);
Tailwind
colors: {
  custom: {
    50: '#a560a4',
    500: '#7b107e',
    950: '#000000',
  },
}
SCSS
$custom: #7b107e;
$custom-light: #a560a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b107e",
  "rgb": {
    "r": 123,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 298.364,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41769,
    "c": 0.1812,
    "h": 326.9
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#7B107E
secondary
#39B436
accent
#F43439
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10050F
muted
#7F7A7F

Preview Lab

Preview with #7B107E

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

Preview Lab → · Contrast checker → · Palette generator →

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