#7B2685#7B2685

#7B2685 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.165 H 323.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7B2685
RGBrgb(123, 38, 133)
HSLhsl(294, 56%, 34%)
HSVhsv(294, 71%, 52%)
CMYKcmyk(7.5%, 71.4%, 0%, 47.8%)
CIE-LABlab(32.46, 49.35, -35.39)
CIE-LCHlch(32.46, 60.73, 324.36°)
OKLaboklab(43.92% 0.1325 -0.0986)
OKLCHoklch(43.92% 0.165 323.3)
XYZxyz(13.0947, 7.2914, 22.9034)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2685 #308526
analogous
#4B2685 #7B2685 #85265F
triadic
#7B2685 #857B26 #26857B
tetradic
#7B2685 #854B26 #308526 #265F85
square
#7B2685 #854B26 #308526 #265F85
split-complementary
#7B2685 #5F8526 #26854B
monochromatic
#230B26 #4F1855 #7B2685 #A734B5 #C257CF

Accessibility & contrast

On white

8.54
#7B2685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2685
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2685#FFFFFF#000000##FFFFFF
##7B26851.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084688
Deuteranopia (green-blind)
#355083
Tritanopia (blue-blind)
#7D3653
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b2685;
/* rgb */ color: rgb(123, 38, 133);
/* oklch */ color: oklch(43.9% 0.165 323.3);
Tailwind
colors: {
  custom: {
    50: '#a469a9',
    500: '#7b2685',
    950: '#000000',
  },
}
SCSS
$custom: #7b2685;
$custom-light: #a469a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2685",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 293.684,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43921,
    "c": 0.16516,
    "h": 323.3
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#7B2685
secondary
#5DB353
accent
#DF4959
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2685

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

Preview Lab → · Contrast checker → · Palette generator →

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