#7A36AF#7A36AF

#7A36AF is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.5% C 0.185 H 306.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7A36AF
RGBrgb(122, 54, 175)
HSLhsl(274, 53%, 45%)
HSVhsv(274, 69%, 69%)
CMYKcmyk(30.3%, 69.1%, 0%, 31.4%)
CIE-LABlab(37.61, 51.08, -52.64)
CIE-LCHlch(37.61, 73.35, 314.14°)
OKLaboklab(48.47% 0.11 -0.1493)
OKLCHoklch(48.47% 0.185 306.4)
XYZxyz(17.0814, 9.8712, 41.5546)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A36AF #6BAF36
analogous
#3E36AF #7A36AF #AF36A7
triadic
#7A36AF #AF7A36 #36AF7A
tetradic
#7A36AF #AF3E36 #6BAF36 #36A7AF
square
#7A36AF #AF3E36 #6BAF36 #36A7AF
split-complementary
#7A36AF #A7AF36 #36AF3E
monochromatic
#391951 #592880 #7A36AF #9857CB #B586DA

Accessibility & contrast

On white

7.06
#7A36AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7A36AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A36AF
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A36AF#FFFFFF#000000##FFFFFF
##7A36AF1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#1159AC
Tritanopia (blue-blind)
#71516E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7a36af;
/* rgb */ color: rgb(122, 54, 175);
/* oklch */ color: oklch(48.5% 0.185 306.4);
Tailwind
colors: {
  custom: {
    50: '#a572c8',
    500: '#7a36af',
    950: '#000000',
  },
}
SCSS
$custom: #7a36af;
$custom-light: #a572c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a36af",
  "rgb": {
    "r": 122,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 273.719,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48467,
    "c": 0.18549,
    "h": 306.4
  },
  "luminance": 0.09871
}

Semantic roles & 50–950 ramp

primary
#7A36AF
secondary
#9CC37D
accent
#DC4C8B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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