#7A368D#7A368D

#7A368D is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.2% C 0.150 H 318.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7A368D
RGBrgb(122, 54, 141)
HSLhsl(287, 45%, 38%)
HSVhsv(287, 62%, 55%)
CMYKcmyk(13.5%, 61.7%, 0%, 44.7%)
CIE-LABlab(35.40, 43.46, -35.66)
CIE-LCHlch(35.40, 56.22, 320.63°)
OKLaboklab(46.17% 0.1118 -0.0996)
OKLCHoklch(46.17% 0.15 318.3)
XYZxyz(14.1523, 8.6996, 26.1278)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A368D #498D36
analogous
#4F368D #7A368D #8D3674
triadic
#7A368D #8D7A36 #368D7A
tetradic
#7A368D #8D4F36 #498D36 #36748D
square
#7A368D #8D4F36 #498D36 #36748D
split-complementary
#7A368D #748D36 #368D4F
monochromatic
#2D1434 #542561 #7A368D #A047B9 #B774CA

Accessibility & contrast

On white

7.66
#7A368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7A368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A368D
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A368D#FFFFFF#000000##FFFFFF
##7A368D1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F90
Deuteranopia (green-blind)
#3A568B
Tritanopia (blue-blind)
#7A445C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a368d;
/* rgb */ color: rgb(122, 54, 141);
/* oklch */ color: oklch(46.2% 0.150 318.3);
Tailwind
colors: {
  custom: {
    50: '#a371af',
    500: '#7a368d',
    950: '#000000',
  },
}
SCSS
$custom: #7a368d;
$custom-light: #a371af;
$custom-dark: #000000;
JSON
{
  "hex": "#7a368d",
  "rgb": {
    "r": 122,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 286.897,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46166,
    "c": 0.1497,
    "h": 318.3
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#7A368D
secondary
#7CB26D
accent
#D45370
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7A368D

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

Preview Lab → · Contrast checker → · Palette generator →

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