#8036B2#8036B2

#8036B2 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.4% C 0.190 H 308.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8036B2
RGBrgb(128, 54, 178)
HSLhsl(276, 53%, 45%)
HSVhsv(276, 70%, 70%)
CMYKcmyk(28.1%, 69.7%, 0%, 30.2%)
CIE-LABlab(38.62, 53.03, -52.74)
CIE-LCHlch(38.62, 74.79, 315.16°)
OKLaboklab(49.43% 0.1178 -0.1494)
OKLCHoklch(49.43% 0.19 308.2)
XYZxyz(18.2555, 10.4422, 43.1647)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8036B2 #68B236
analogous
#4236B2 #8036B2 #B236A6
triadic
#8036B2 #B28036 #36B280
tetradic
#8036B2 #B24236 #68B236 #36A6B2
square
#8036B2 #B24236 #68B236 #36A6B2
split-complementary
#8036B2 #A6B236 #36B242
monochromatic
#3C1A54 #5E2883 #8036B2 #9E59CD #B988DB

Accessibility & contrast

On white

6.80
#8036B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8036B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8036B2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8036B2#FFFFFF#000000##FFFFFF
##8036B21.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#195CAF
Tritanopia (blue-blind)
#785170
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8036b2;
/* rgb */ color: rgb(128, 54, 178);
/* oklch */ color: oklch(49.4% 0.190 308.2);
Tailwind
colors: {
  custom: {
    50: '#a973ca',
    500: '#8036b2',
    950: '#000000',
  },
}
SCSS
$custom: #8036b2;
$custom-light: #a973ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8036b2",
  "rgb": {
    "r": 128,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 275.806,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4943,
    "c": 0.19027,
    "h": 308.2
  },
  "luminance": 0.10442
}

Semantic roles & 50–950 ramp

primary
#8036B2
secondary
#9BC57F
accent
#DD4B86
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8036B2

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

Preview Lab → · Contrast checker → · Palette generator →

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