#7A2B85#7A2B85

#7A2B85 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.158 H 322.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7A2B85
RGBrgb(122, 43, 133)
HSLhsl(293, 51%, 35%)
HSVhsv(293, 68%, 52%)
CMYKcmyk(8.3%, 67.7%, 0%, 47.8%)
CIE-LABlab(33.05, 47.01, -34.47)
CIE-LCHlch(33.05, 58.29, 323.75°)
OKLaboklab(44.31% 0.1255 -0.096)
OKLCHoklch(44.31% 0.158 322.6)
XYZxyz(13.1231, 7.5595, 22.9536)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2B85 #36852B
analogous
#4D2B85 #7A2B85 #852B63
triadic
#7A2B85 #857A2B #2B857A
tetradic
#7A2B85 #854D2B #36852B #2B6385
square
#7A2B85 #854D2B #36852B #2B6385
split-complementary
#7A2B85 #63852B #2B854D
monochromatic
#250D29 #501C57 #7A2B85 #A43AB3 #BE5FCB

Accessibility & contrast

On white

8.36
#7A2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7A2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2B85
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2B85#FFFFFF#000000##FFFFFF
##7A2B851.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144888
Deuteranopia (green-blind)
#375183
Tritanopia (blue-blind)
#7C3A54
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a2b85;
/* rgb */ color: rgb(122, 43, 133);
/* oklch */ color: oklch(44.3% 0.158 322.6);
Tailwind
colors: {
  custom: {
    50: '#a36ba9',
    500: '#7a2b85',
    950: '#000000',
  },
}
SCSS
$custom: #7a2b85;
$custom-light: #a36ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2b85",
  "rgb": {
    "r": 122,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 292.667,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44311,
    "c": 0.15803,
    "h": 322.6
  },
  "luminance": 0.07559
}

Semantic roles & 50–950 ramp

primary
#7A2B85
secondary
#65B15B
accent
#DB4D5E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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