#7A358B#7A358B

#7A358B is a mid, vivid purple. Relative luminance 0.085; OKLCH L 45.9% C 0.149 H 319.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7A358B
RGBrgb(122, 53, 139)
HSLhsl(288, 45%, 38%)
HSVhsv(288, 62%, 55%)
CMYKcmyk(12.2%, 61.9%, 0%, 45.5%)
CIE-LABlab(35.10, 43.54, -34.91)
CIE-LCHlch(35.10, 55.81, 321.28°)
OKLaboklab(45.91% 0.113 -0.0974)
OKLCHoklch(45.91% 0.149 319.3)
XYZxyz(13.9587, 8.5485, 25.3358)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A358B #468B35
analogous
#4F358B #7A358B #8B3571
triadic
#7A358B #8B7A35 #358B7A
tetradic
#7A358B #8B4F35 #468B35 #35718B
square
#7A358B #8B4F35 #468B35 #35718B
split-complementary
#7A358B #718B35 #358B4F
monochromatic
#2C1332 #53245F #7A358B #A146B7 #B871C9

Accessibility & contrast

On white

7.75
#7A358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7A358B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A358B
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A358B#FFFFFF#000000##FFFFFF
##7A358B1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8E
Deuteranopia (green-blind)
#3B5589
Tritanopia (blue-blind)
#7A435B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a358b;
/* rgb */ color: rgb(122, 53, 139);
/* oklch */ color: oklch(45.9% 0.149 319.3);
Tailwind
colors: {
  custom: {
    50: '#a371ad',
    500: '#7a358b',
    950: '#000000',
  },
}
SCSS
$custom: #7a358b;
$custom-light: #a371ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7a358b",
  "rgb": {
    "r": 122,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 288.14,
    "s": 44.792,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45911,
    "c": 0.14919,
    "h": 319.3
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#7A358B
secondary
#78B16A
accent
#D4536D
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7A358B

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

Preview Lab → · Contrast checker → · Palette generator →

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