#7A36BF#7A36BF

#7A36BF is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.7% C 0.202 H 302.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7A36BF
RGBrgb(122, 54, 191)
HSLhsl(270, 56%, 48%)
HSVhsv(270, 72%, 75%)
CMYKcmyk(36.1%, 71.7%, 0%, 25.1%)
CIE-LABlab(38.79, 54.89, -60.17)
CIE-LCHlch(38.79, 81.44, 312.37°)
OKLaboklab(49.68% 0.1076 -0.1715)
OKLCHoklch(49.68% 0.202 302.1)
XYZxyz(18.7469, 10.5374, 50.3264)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A36BF #7BBF36
analogous
#3637BF #7A36BF #BE36BF
triadic
#7A36BF #BF7A36 #36BF7A
tetradic
#7A36BF #BF3637 #7BBF36 #36BFBE
square
#7A36BF #BF3637 #7BBF36 #36BFBE
split-complementary
#7A36BF #BFBE36 #37BF36
monochromatic
#3D1B60 #5C298F #7A36BF #9960D2 #B790E0

Accessibility & contrast

On white

6.76
#7A36BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7A36BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A36BF
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A36BF#FFFFFF#000000##FFFFFF
##7A36BF1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#6B5777
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a36bf;
/* rgb */ color: rgb(122, 54, 191);
/* oklch */ color: oklch(49.7% 0.202 302.1);
Tailwind
colors: {
  custom: {
    50: '#a673d3',
    500: '#7a36bf',
    950: '#000000',
  },
}
SCSS
$custom: #7a36bf;
$custom-light: #a673d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a36bf",
  "rgb": {
    "r": 122,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 269.781,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49678,
    "c": 0.2024,
    "h": 302.1
  },
  "luminance": 0.10537
}

Semantic roles & 50–950 ramp

primary
#7A36BF
secondary
#A9CA87
accent
#DF4994
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A36BF

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

Preview Lab → · Contrast checker → · Palette generator →

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