#7B2696#7B2696

#7B2696 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.181 H 316.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7B2696
RGBrgb(123, 38, 150)
HSLhsl(286, 60%, 37%)
HSVhsv(286, 75%, 59%)
CMYKcmyk(18%, 74.7%, 0%, 41.2%)
CIE-LABlab(33.56, 52.71, -44.10)
CIE-LCHlch(33.56, 68.73, 320.08°)
OKLaboklab(45.06% 0.1313 -0.1241)
OKLCHoklch(45.06% 0.181 316.6)
XYZxyz(14.3657, 7.7998, 29.5970)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2696 #419626
analogous
#432696 #7B2696 #962679
triadic
#7B2696 #967B26 #26967B
tetradic
#7B2696 #964326 #419626 #267996
square
#7B2696 #964326 #419626 #267996
split-complementary
#7B2696 #799626 #269643
monochromatic
#2B0D34 #531A65 #7B2696 #A332C7 #BA60D7

Accessibility & contrast

On white

8.20
#7B2696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7B2696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2696
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2696#FFFFFF#000000##FFFFFF
##7B26961.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#275194
Tritanopia (blue-blind)
#793E5C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b2696;
/* rgb */ color: rgb(123, 38, 150);
/* oklch */ color: oklch(45.1% 0.181 316.6);
Tailwind
colors: {
  custom: {
    50: '#a569b5',
    500: '#7b2696',
    950: '#000000',
  },
}
SCSS
$custom: #7b2696;
$custom-light: #a569b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2696",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 285.536,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45059,
    "c": 0.18066,
    "h": 316.6
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

primary
#7B2696
secondary
#73BC5C
accent
#E3456B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2696

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

Preview Lab → · Contrast checker → · Palette generator →

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