#7B169E#7B169E

#7B169E is a dark, highly saturated purple. Relative luminance 0.073; OKLCH L 44.4% C 0.203 H 314.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7B169E
RGBrgb(123, 22, 158)
HSLhsl(285, 76%, 35%)
HSVhsv(285, 86%, 62%)
CMYKcmyk(22.2%, 86.1%, 0%, 38%)
CIE-LABlab(32.38, 59.41, -50.89)
CIE-LCHlch(32.38, 78.23, 319.42°)
OKLaboklab(44.41% 0.1427 -0.1439)
OKLCHoklch(44.41% 0.203 314.7)
XYZxyz(14.6258, 7.2539, 32.9708)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B169E #399E16
analogous
#37169E #7B169E #9E167D
triadic
#7B169E #9E7B16 #169E7B
tetradic
#7B169E #9E3716 #399E16 #167D9E
square
#7B169E #9E3716 #399E16 #167D9E
split-complementary
#7B169E #7D9E16 #169E37
monochromatic
#270733 #510F68 #7B169E #A51DD4 #BD49E6

Accessibility & contrast

On white

8.57
#7B169E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7B169E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B169E
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B169E#FFFFFF#000000##FFFFFF
##7B169E1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#064E9B
Tritanopia (blue-blind)
#783A5D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b169e;
/* rgb */ color: rgb(123, 22, 158);
/* oklch */ color: oklch(44.4% 0.203 314.7);
Tailwind
colors: {
  custom: {
    50: '#a664bb',
    500: '#7b169e',
    950: '#000000',
  },
}
SCSS
$custom: #7b169e;
$custom-light: #a664bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b169e",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 158
  },
  "hsl": {
    "h": 284.559,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44409,
    "c": 0.20268,
    "h": 314.7
  },
  "luminance": 0.07253
}

Semantic roles & 50–950 ramp

primary
#7B169E
secondary
#69C749
accent
#F23666
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7B169E

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

Preview Lab → · Contrast checker → · Palette generator →

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