#7A348D#7A348D

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

Color values

HEX#7A348D
RGBrgb(122, 52, 141)
HSLhsl(287, 46%, 38%)
HSVhsv(287, 63%, 55%)
CMYKcmyk(13.5%, 63.1%, 0%, 44.7%)
CIE-LABlab(35.04, 44.45, -36.24)
CIE-LCHlch(35.04, 57.35, 320.81°)
OKLaboklab(45.9% 0.1144 -0.1012)
OKLCHoklch(45.9% 0.153 318.5)
XYZxyz(14.0611, 8.5172, 26.0975)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A348D #478D34
analogous
#4D348D #7A348D #8D3473
triadic
#7A348D #8D7A34 #348D7A
tetradic
#7A348D #8D4D34 #478D34 #34738D
square
#7A348D #8D4D34 #478D34 #34738D
split-complementary
#7A348D #738D34 #348D4D
monochromatic
#2D1334 #532460 #7A348D #A144BA #B771CB

Accessibility & contrast

On white

7.77
#7A348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7A348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A348D
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A348D#FFFFFF#000000##FFFFFF
##7A348D1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E90
Deuteranopia (green-blind)
#39558B
Tritanopia (blue-blind)
#7A435B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a348d;
/* rgb */ color: rgb(122, 52, 141);
/* oklch */ color: oklch(45.9% 0.153 318.5);
Tailwind
colors: {
  custom: {
    50: '#a370af',
    500: '#7a348d',
    950: '#000000',
  },
}
SCSS
$custom: #7a348d;
$custom-light: #a370af;
$custom-dark: #000000;
JSON
{
  "hex": "#7a348d",
  "rgb": {
    "r": 122,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 287.191,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45903,
    "c": 0.15276,
    "h": 318.5
  },
  "luminance": 0.08517
}

Semantic roles & 50–950 ramp

primary
#7A348D
secondary
#7AB36A
accent
#D6526E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7A348D

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

Preview Lab → · Contrast checker → · Palette generator →

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