#7036AB#7036AB

#7036AB is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.179 H 302.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7036AB
RGBrgb(112, 54, 171)
HSLhsl(270, 52%, 44%)
HSVhsv(270, 68%, 67%)
CMYKcmyk(34.5%, 68.4%, 0%, 32.9%)
CIE-LABlab(36.03, 48.02, -52.88)
CIE-LCHlch(36.03, 71.43, 312.25°)
OKLaboklab(46.96% 0.0967 -0.1504)
OKLCHoklch(46.96% 0.179 302.8)
XYZxyz(15.3502, 9.0233, 39.4532)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7036AB #71AB36
analogous
#3636AB #7036AB #AB36AB
triadic
#7036AB #AB7036 #36AB70
tetradic
#7036AB #AB3636 #71AB36 #36ABAB
square
#7036AB #AB3636 #71AB36 #36ABAB
split-complementary
#7036AB #ABAB36 #36AB36
monochromatic
#33194E #52277C #7036AB #8F55C9 #AD83D8

Accessibility & contrast

On white

7.49
#7036AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7036AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7036AB
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7036AB#FFFFFF#000000##FFFFFF
##7036AB1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#64516C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7036ab;
/* rgb */ color: rgb(112, 54, 171);
/* oklch */ color: oklch(47.0% 0.179 302.8);
Tailwind
colors: {
  custom: {
    50: '#9e71c5',
    500: '#7036ab',
    950: '#000000',
  },
}
SCSS
$custom: #7036ab;
$custom-light: #9e71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7036ab",
  "rgb": {
    "r": 112,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 269.744,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46964,
    "c": 0.1788,
    "h": 302.8
  },
  "luminance": 0.09023
}

Semantic roles & 50–950 ramp

primary
#7036AB
secondary
#9FC27B
accent
#DB4C95
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7036AB

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

Preview Lab → · Contrast checker → · Palette generator →

#7036AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva