#7B266E#7B266E

#7B266E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.6% C 0.146 H 334.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7B266E
RGBrgb(123, 38, 110)
HSLhsl(309, 53%, 32%)
HSVhsv(309, 69%, 48%)
CMYKcmyk(0%, 69.1%, 10.6%, 51.8%)
CIE-LABlab(31.17, 45.24, -22.95)
CIE-LCHlch(31.17, 50.72, 333.10°)
OKLaboklab(42.57% 0.1314 -0.0626)
OKLCHoklch(42.57% 0.146 334.5)
XYZxyz(11.6761, 6.7239, 15.4317)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B266E #267B33
analogous
#5E267B #7B266E #7B2644
triadic
#7B266E #6E7B26 #266E7B
tetradic
#7B266E #7B5E26 #267B33 #26447B
square
#7B266E #7B5E26 #267B33 #26447B
split-complementary
#7B266E #447B26 #267B5E
monochromatic
#1D091A #4C1844 #7B266E #AA3498 #CA52B7

Accessibility & contrast

On white

8.96
#7B266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7B266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B266E
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B266E#FFFFFF#000000##FFFFFF
##7B266E1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254170
Deuteranopia (green-blind)
#424E6C
Tritanopia (blue-blind)
#812C46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b266e;
/* rgb */ color: rgb(123, 38, 110);
/* oklch */ color: oklch(42.6% 0.146 334.5);
Tailwind
colors: {
  custom: {
    50: '#a46898',
    500: '#7b266e',
    950: '#000000',
  },
}
SCSS
$custom: #7b266e;
$custom-light: #a46898;
$custom-dark: #000000;
JSON
{
  "hex": "#7b266e",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 309.176,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42571,
    "c": 0.14554,
    "h": 334.5
  },
  "luminance": 0.06723
}

Semantic roles & 50–950 ramp

primary
#7B266E
secondary
#50AD5E
accent
#DC624C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B266E

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

Preview Lab → · Contrast checker → · Palette generator →

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