#7A2685#7A2685

#7A2685 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.165 H 322.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#7A2685
RGBrgb(122, 38, 133)
HSLhsl(293, 56%, 34%)
HSVhsv(293, 71%, 52%)
CMYKcmyk(8.3%, 71.4%, 0%, 47.8%)
CIE-LABlab(32.30, 49.12, -35.66)
CIE-LCHlch(32.30, 60.70, 324.02°)
OKLaboklab(43.77% 0.1313 -0.0994)
OKLCHoklch(43.77% 0.165 322.9)
XYZxyz(12.9524, 7.2180, 22.8967)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2685 #318526
analogous
#4A2685 #7A2685 #852660
triadic
#7A2685 #857A26 #26857A
tetradic
#7A2685 #854A26 #318526 #266085
square
#7A2685 #854A26 #318526 #266085
split-complementary
#7A2685 #608526 #26854A
monochromatic
#230B26 #4E1855 #7A2685 #A634B5 #C157CF

Accessibility & contrast

On white

8.59
#7A2685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7A2685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2685
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2685#FFFFFF#000000##FFFFFF
##7A26851.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074688
Deuteranopia (green-blind)
#344F83
Tritanopia (blue-blind)
#7C3653
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2685;
/* rgb */ color: rgb(122, 38, 133);
/* oklch */ color: oklch(43.8% 0.165 322.9);
Tailwind
colors: {
  custom: {
    50: '#a468a9',
    500: '#7a2685',
    950: '#000000',
  },
}
SCSS
$custom: #7a2685;
$custom-light: #a468a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2685",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 293.053,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43772,
    "c": 0.16469,
    "h": 322.9
  },
  "luminance": 0.07217
}

Semantic roles & 50–950 ramp

primary
#7A2685
secondary
#5EB353
accent
#DF495A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A2685

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

Preview Lab → · Contrast checker → · Palette generator →

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