#7A347B#7A347B

#7A347B is a dark, vivid purple. Relative luminance 0.080; OKLCH L 44.8% C 0.135 H 327.0°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7A347B
RGBrgb(122, 52, 123)
HSLhsl(299, 41%, 34%)
HSVhsv(299, 58%, 48%)
CMYKcmyk(0.8%, 57.7%, 0%, 51.8%)
CIE-LABlab(34.03, 40.82, -26.68)
CIE-LCHlch(34.03, 48.76, 326.83°)
OKLaboklab(44.85% 0.1132 -0.0735)
OKLCHoklch(44.85% 0.135 327)
XYZxyz(12.8290, 8.0244, 19.6082)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A347B #357B34
analogous
#57347B #7A347B #7B3459
triadic
#7A347B #7B7A34 #347B7A
tetradic
#7A347B #7B5734 #357B34 #34597B
square
#7A347B #7B5734 #357B34 #34597B
split-complementary
#7A347B #597B34 #347B57
monochromatic
#251025 #4F2250 #7A347B #A546A6 #BF6AC0

Accessibility & contrast

On white

8.06
#7A347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7A347B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A347B
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A347B#FFFFFF#000000##FFFFFF
##7A347B1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4A7D
Deuteranopia (green-blind)
#435379
Tritanopia (blue-blind)
#7D3D52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a347b;
/* rgb */ color: rgb(122, 52, 123);
/* oklch */ color: oklch(44.8% 0.135 327.0);
Tailwind
colors: {
  custom: {
    50: '#a370a1',
    500: '#7a347b',
    950: '#000000',
  },
}
SCSS
$custom: #7a347b;
$custom-light: #a370a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a347b",
  "rgb": {
    "r": 122,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 299.155,
    "s": 40.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44846,
    "c": 0.13493,
    "h": 327
  },
  "luminance": 0.08024
}

Semantic roles & 50–950 ramp

primary
#7A347B
secondary
#64A863
accent
#D05759
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F080F
muted
#7F7B7E

Preview Lab

Preview with #7A347B

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

Preview Lab → · Contrast checker → · Palette generator →

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