#8027B5#8027B5

#8027B5 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.210 H 308.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8027B5
RGBrgb(128, 39, 181)
HSLhsl(278, 65%, 43%)
HSVhsv(278, 78%, 71%)
CMYKcmyk(29.3%, 78.5%, 0%, 29%)
CIE-LABlab(36.70, 59.80, -57.64)
CIE-LCHlch(36.70, 83.06, 316.05°)
OKLaboklab(48.14% 0.1315 -0.1637)
OKLCHoklch(48.14% 0.21 308.8)
XYZxyz(17.9664, 9.3767, 44.5705)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8027B5 #5CB527
analogous
#3927B5 #8027B5 #B527A3
triadic
#8027B5 #B58027 #27B580
tetradic
#8027B5 #B53927 #5CB527 #27A3B5
square
#8027B5 #B53927 #5CB527 #27A3B5
split-complementary
#8027B5 #A3B527 #27B539
monochromatic
#391150 #5C1C83 #8027B5 #9F43D6 #B975E1

Accessibility & contrast

On white

7.30
#8027B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8027B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8027B5
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8027B5#FFFFFF#000000##FFFFFF
##8027B51.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#784B6E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8027b5;
/* rgb */ color: rgb(128, 39, 181);
/* oklch */ color: oklch(48.1% 0.210 308.8);
Tailwind
colors: {
  custom: {
    50: '#aa6ccc',
    500: '#8027b5',
    950: '#000000',
  },
}
SCSS
$custom: #8027b5;
$custom-light: #aa6ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#8027b5",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 181
  },
  "hsl": {
    "h": 277.606,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48138,
    "c": 0.21,
    "h": 308.8
  },
  "luminance": 0.09376
}

Semantic roles & 50–950 ramp

primary
#8027B5
secondary
#91C96F
accent
#E8407F
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8027B5

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

Preview Lab → · Contrast checker → · Palette generator →

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