#7B2686#7B2686

#7B2686 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.166 H 322.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7B2686
RGBrgb(123, 38, 134)
HSLhsl(293, 56%, 34%)
HSVhsv(293, 72%, 53%)
CMYKcmyk(8.2%, 71.6%, 0%, 47.5%)
CIE-LABlab(32.52, 49.54, -35.91)
CIE-LCHlch(32.52, 61.19, 324.06°)
OKLaboklab(43.99% 0.1325 -0.1002)
OKLCHoklch(43.99% 0.166 322.9)
XYZxyz(13.1641, 7.3192, 23.2690)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2686 #318626
analogous
#4B2686 #7B2686 #862661
triadic
#7B2686 #867B26 #26867B
tetradic
#7B2686 #864B26 #318626 #266186
square
#7B2686 #864B26 #318626 #266186
split-complementary
#7B2686 #618626 #26864B
monochromatic
#230B27 #4F1856 #7B2686 #A734B6 #C257CF

Accessibility & contrast

On white

8.52
#7B2686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7B2686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2686
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2686#FFFFFF#000000##FFFFFF
##7B26861.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064689
Deuteranopia (green-blind)
#355084
Tritanopia (blue-blind)
#7D3753
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b2686;
/* rgb */ color: rgb(123, 38, 134);
/* oklch */ color: oklch(44.0% 0.166 322.9);
Tailwind
colors: {
  custom: {
    50: '#a469aa',
    500: '#7b2686',
    950: '#000000',
  },
}
SCSS
$custom: #7b2686;
$custom-light: #a469aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2686",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 293.125,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43985,
    "c": 0.16607,
    "h": 322.9
  },
  "luminance": 0.07318
}

Semantic roles & 50–950 ramp

primary
#7B2686
secondary
#5FB454
accent
#DF495A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2686

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

Preview Lab → · Contrast checker → · Palette generator →

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