#7A3385#7A3385

#7A3385 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.3% C 0.146 H 322.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7A3385
RGBrgb(122, 51, 133)
HSLhsl(292, 45%, 36%)
HSVhsv(292, 62%, 52%)
CMYKcmyk(8.3%, 61.7%, 0%, 47.8%)
CIE-LABlab(34.39, 43.29, -32.33)
CIE-LCHlch(34.39, 54.03, 323.25°)
OKLaboklab(45.29% 0.1154 -0.0898)
OKLCHoklch(45.29% 0.146 322.1)
XYZxyz(13.4431, 8.1994, 23.0603)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3385 #3E8533
analogous
#513385 #7A3385 #853367
triadic
#7A3385 #857A33 #33857A
tetradic
#7A3385 #855133 #3E8533 #336785
square
#7A3385 #855133 #3E8533 #336785
split-complementary
#7A3385 #678533 #338551
monochromatic
#29112D #512259 #7A3385 #A344B1 #BA6CC7

Accessibility & contrast

On white

7.96
#7A3385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7A3385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3385
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3385#FFFFFF#000000##FFFFFF
##7A33851.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234C88
Deuteranopia (green-blind)
#3D5483
Tritanopia (blue-blind)
#7C3F57
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a3385;
/* rgb */ color: rgb(122, 51, 133);
/* oklch */ color: oklch(45.3% 0.146 322.1);
Tailwind
colors: {
  custom: {
    50: '#a36fa9',
    500: '#7a3385',
    950: '#000000',
  },
}
SCSS
$custom: #7a3385;
$custom-light: #a36fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3385",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 291.951,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45286,
    "c": 0.14626,
    "h": 322.1
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#7A3385
secondary
#6FAE65
accent
#D45465
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7A3385

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

Preview Lab → · Contrast checker → · Palette generator →

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