#7036B2#7036B2

#7036B2 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.187 H 300.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7036B2
RGBrgb(112, 54, 178)
HSLhsl(268, 53%, 45%)
HSVhsv(268, 70%, 70%)
CMYKcmyk(37.1%, 69.7%, 0%, 30.2%)
CIE-LABlab(36.55, 49.77, -56.20)
CIE-LCHlch(36.55, 75.07, 311.53°)
OKLaboklab(47.5% 0.0957 -0.1601)
OKLCHoklch(47.5% 0.187 300.9)
XYZxyz(16.0352, 9.2973, 43.0606)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7036B2 #78B236
analogous
#363AB2 #7036B2 #AE36B2
triadic
#7036B2 #B27036 #36B270
tetradic
#7036B2 #B2363A #78B236 #36B2AE
square
#7036B2 #B2363A #78B236 #36B2AE
split-complementary
#7036B2 #B2AE36 #3AB236
monochromatic
#351A54 #522883 #7036B2 #8F59CD #AF88DB

Accessibility & contrast

On white

7.34
#7036B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7036B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7036B2
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7036B2#FFFFFF#000000##FFFFFF
##7036B21.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#625370
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7036b2;
/* rgb */ color: rgb(112, 54, 178);
/* oklch */ color: oklch(47.5% 0.187 300.9);
Tailwind
colors: {
  custom: {
    50: '#9e72ca',
    500: '#7036b2',
    950: '#000000',
  },
}
SCSS
$custom: #7036b2;
$custom-light: #9e72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7036b2",
  "rgb": {
    "r": 112,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 268.065,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47501,
    "c": 0.18657,
    "h": 300.9
  },
  "luminance": 0.09297
}

Semantic roles & 50–950 ramp

primary
#7036B2
secondary
#A4C57F
accent
#DD4B99
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7036B2

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

Preview Lab → · Contrast checker → · Palette generator →

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