#7A3295#7A3295

#7A3295 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.2% C 0.164 H 315.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#7A3295
RGBrgb(122, 50, 149)
HSLhsl(284, 50%, 39%)
HSVhsv(284, 66%, 58%)
CMYKcmyk(18.1%, 66.4%, 0%, 41.6%)
CIE-LABlab(35.18, 47.11, -40.90)
CIE-LCHlch(35.18, 62.39, 319.04°)
OKLaboklab(46.17% 0.1168 -0.1149)
OKLCHoklch(46.17% 0.164 315.5)
XYZxyz(14.5906, 8.5892, 29.3172)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3295 #4D9532
analogous
#483295 #7A3295 #95327F
triadic
#7A3295 #957A32 #32957A
tetradic
#7A3295 #954832 #4D9532 #327F95
square
#7A3295 #954832 #4D9532 #327F95
split-complementary
#7A3295 #7F9532 #329548
monochromatic
#2F1339 #542367 #7A3295 #9E44C0 #B672D0

Accessibility & contrast

On white

7.73
#7A3295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7A3295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3295
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3295#FFFFFF#000000##FFFFFF
##7A32951.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054E98
Deuteranopia (green-blind)
#315593
Tritanopia (blue-blind)
#78455F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a3295;
/* rgb */ color: rgb(122, 50, 149);
/* oklch */ color: oklch(46.2% 0.164 315.5);
Tailwind
colors: {
  custom: {
    50: '#a36fb5',
    500: '#7a3295',
    950: '#000000',
  },
}
SCSS
$custom: #7a3295;
$custom-light: #a36fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3295",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 283.636,
    "s": 49.749,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46165,
    "c": 0.16383,
    "h": 315.5
  },
  "luminance": 0.08589
}

Semantic roles & 50–950 ramp

primary
#7A3295
secondary
#80B86B
accent
#D94F74
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #7A3295

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

Preview Lab → · Contrast checker → · Palette generator →

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