#7A36CA#7A36CA

#7A36CA is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.6% C 0.214 H 299.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7A36CA
RGBrgb(122, 54, 202)
HSLhsl(268, 58%, 50%)
HSVhsv(268, 73%, 79%)
CMYKcmyk(39.6%, 73.3%, 0%, 20.8%)
CIE-LABlab(39.65, 57.55, -65.19)
CIE-LCHlch(39.65, 86.96, 311.44°)
OKLaboklab(50.55% 0.1054 -0.1862)
OKLCHoklch(50.55% 0.214 299.5)
XYZxyz(20.0032, 11.0399, 56.9427)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A36CA #86CA36
analogous
#363CCA #7A36CA #C436CA
triadic
#7A36CA #CA7A36 #36CA7A
tetradic
#7A36CA #CA363C #86CA36 #36CAC4
square
#7A36CA #CA363C #86CA36 #36CAC4
split-complementary
#7A36CA #CAC436 #3CCA36
monochromatic
#401C6A #5D299A #7A36CA #9A66D7 #BA97E4

Accessibility & contrast

On white

6.55
#7A36CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7A36CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A36CA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A36CA#FFFFFF#000000##FFFFFF
##7A36CA1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#675C7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a36ca;
/* rgb */ color: rgb(122, 54, 202);
/* oklch */ color: oklch(50.6% 0.214 299.5);
Tailwind
colors: {
  custom: {
    50: '#a773db',
    500: '#7a36ca',
    950: '#000000',
  },
}
SCSS
$custom: #7a36ca;
$custom-light: #a773db;
$custom-dark: #000000;
JSON
{
  "hex": "#7a36ca",
  "rgb": {
    "r": 122,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 267.568,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50553,
    "c": 0.21395,
    "h": 299.5
  },
  "luminance": 0.1104
}

Semantic roles & 50–950 ramp

primary
#7A36CA
secondary
#B1CF8D
accent
#E1469A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7A36CA

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

Preview Lab → · Contrast checker → · Palette generator →

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