#8027B3#8027B3

#8027B3 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.0% C 0.208 H 309.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8027B3
RGBrgb(128, 39, 179)
HSLhsl(278, 64%, 43%)
HSVhsv(278, 78%, 70%)
CMYKcmyk(28.5%, 78.2%, 0%, 29.8%)
CIE-LABlab(36.55, 59.37, -56.70)
CIE-LCHlch(36.55, 82.10, 316.32°)
OKLaboklab(47.98% 0.132 -0.161)
OKLCHoklch(47.98% 0.208 309.3)
XYZxyz(17.7626, 9.2953, 43.4975)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8027B3 #5AB327
analogous
#3A27B3 #8027B3 #B327A0
triadic
#8027B3 #B38027 #27B380
tetradic
#8027B3 #B33A27 #5AB327 #27A0B3
square
#8027B3 #B33A27 #5AB327 #27A0B3
split-complementary
#8027B3 #A0B327 #27B33A
monochromatic
#38114E #5C1C81 #8027B3 #A041D6 #B974E1

Accessibility & contrast

On white

7.35
#8027B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8027B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8027B3
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8027B3#FFFFFF#000000##FFFFFF
##8027B31.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#784A6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8027b3;
/* rgb */ color: rgb(128, 39, 179);
/* oklch */ color: oklch(48.0% 0.208 309.3);
Tailwind
colors: {
  custom: {
    50: '#aa6ccb',
    500: '#8027b3',
    950: '#000000',
  },
}
SCSS
$custom: #8027b3;
$custom-light: #aa6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#8027b3",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 278.143,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47982,
    "c": 0.20814,
    "h": 309.3
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#8027B3
secondary
#8FC86E
accent
#E7417D
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8027B3

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

Preview Lab → · Contrast checker → · Palette generator →

#8027B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva