#7B168F#7B168F

#7B168F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.190 H 320.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7B168F
RGBrgb(123, 22, 143)
HSLhsl(290, 73%, 32%)
HSVhsv(290, 85%, 56%)
CMYKcmyk(14%, 84.6%, 0%, 43.9%)
CIE-LABlab(31.27, 56.54, -43.49)
CIE-LCHlch(31.27, 71.33, 322.43°)
OKLaboklab(43.29% 0.1458 -0.1222)
OKLCHoklch(43.29% 0.19 320)
XYZxyz(13.4126, 6.7687, 26.5813)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B168F #2A8F16
analogous
#3F168F #7B168F #8F1666
triadic
#7B168F #8F7B16 #168F7B
tetradic
#7B168F #8F3F16 #2A8F16 #16668F
square
#7B168F #8F3F16 #2A8F16 #16668F
split-complementary
#7B168F #668F16 #168F3F
monochromatic
#200625 #4D0E5A #7B168F #A91EC4 #C63EE1

Accessibility & contrast

On white

8.92
#7B168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7B168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B168F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B168F#FFFFFF#000000##FFFFFF
##7B168F1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#234D8C
Tritanopia (blue-blind)
#7B3255
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b168f;
/* rgb */ color: rgb(123, 22, 143);
/* oklch */ color: oklch(43.3% 0.190 320.0);
Tailwind
colors: {
  custom: {
    50: '#a563b0',
    500: '#7b168f',
    950: '#000000',
  },
}
SCSS
$custom: #7b168f;
$custom-light: #a563b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b168f",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 290.083,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43289,
    "c": 0.19022,
    "h": 320
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#7B168F
secondary
#55C13F
accent
#F03856
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7B168F

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

Preview Lab → · Contrast checker → · Palette generator →

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