#7A3087#7A3087

#7A3087 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.0% C 0.153 H 321.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7A3087
RGBrgb(122, 48, 135)
HSLhsl(291, 48%, 36%)
HSVhsv(291, 64%, 53%)
CMYKcmyk(9.6%, 64.4%, 0%, 47.1%)
CIE-LABlab(33.99, 45.13, -34.21)
CIE-LCHlch(33.99, 56.64, 322.84°)
OKLaboklab(45.03% 0.1194 -0.0953)
OKLCHoklch(45.03% 0.153 321.4)
XYZxyz(13.4557, 8.0014, 23.7526)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3087 #3D8730
analogous
#4E3087 #7A3087 #873068
triadic
#7A3087 #877A30 #30877A
tetradic
#7A3087 #874E30 #3D8730 #306887
square
#7A3087 #874E30 #3D8730 #306887
split-complementary
#7A3087 #688730 #30874E
monochromatic
#28102D #51205A #7A3087 #A340B4 #BB68C9

Accessibility & contrast

On white

8.08
#7A3087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A3087
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3087#FFFFFF#000000##FFFFFF
##7A30871.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4B8A
Deuteranopia (green-blind)
#3A5385
Tritanopia (blue-blind)
#7B3E57
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a3087;
/* rgb */ color: rgb(122, 48, 135);
/* oklch */ color: oklch(45.0% 0.153 321.4);
Tailwind
colors: {
  custom: {
    50: '#a36eaa',
    500: '#7a3087',
    950: '#000000',
  },
}
SCSS
$custom: #7a3087;
$custom-light: #a36eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3087",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 291.034,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45027,
    "c": 0.15277,
    "h": 321.4
  },
  "luminance": 0.08001
}

Semantic roles & 50–950 ramp

primary
#7A3087
secondary
#6EB162
accent
#D75165
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A3087

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

Preview Lab → · Contrast checker → · Palette generator →

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