#7A368C#7A368C

#7A368C is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.1% C 0.149 H 318.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7A368C
RGBrgb(122, 54, 140)
HSLhsl(287, 44%, 38%)
HSVhsv(287, 61%, 55%)
CMYKcmyk(12.9%, 61.4%, 0%, 45.1%)
CIE-LABlab(35.34, 43.25, -35.14)
CIE-LCHlch(35.34, 55.73, 320.91°)
OKLaboklab(46.11% 0.1117 -0.0981)
OKLCHoklch(46.11% 0.149 318.7)
XYZxyz(14.0782, 8.6699, 25.7378)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A368C #488C36
analogous
#4F368C #7A368C #8C3673
triadic
#7A368C #8C7A36 #368C7A
tetradic
#7A368C #8C4F36 #488C36 #36738C
square
#7A368C #8C4F36 #488C36 #36738C
split-complementary
#7A368C #738C36 #368C4F
monochromatic
#2D1434 #542560 #7A368C #A047B8 #B773C9

Accessibility & contrast

On white

7.68
#7A368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7A368C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A368C
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A368C#FFFFFF#000000##FFFFFF
##7A368C1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F8F
Deuteranopia (green-blind)
#3B558A
Tritanopia (blue-blind)
#7A445C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a368c;
/* rgb */ color: rgb(122, 54, 140);
/* oklch */ color: oklch(46.1% 0.149 318.7);
Tailwind
colors: {
  custom: {
    50: '#a371ae',
    500: '#7a368c',
    950: '#000000',
  },
}
SCSS
$custom: #7a368c;
$custom-light: #a371ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7a368c",
  "rgb": {
    "r": 122,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 287.442,
    "s": 44.33,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46105,
    "c": 0.14867,
    "h": 318.7
  },
  "luminance": 0.08669
}

Semantic roles & 50–950 ramp

primary
#7A368C
secondary
#7BB26C
accent
#D4546F
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7A368C

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

Preview Lab → · Contrast checker → · Palette generator →

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