#8027B2#8027B2

#8027B2 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.207 H 309.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8027B2
RGBrgb(128, 39, 178)
HSLhsl(278, 64%, 43%)
HSVhsv(278, 78%, 70%)
CMYKcmyk(28.1%, 78.1%, 0%, 30.2%)
CIE-LABlab(36.47, 59.16, -56.23)
CIE-LCHlch(36.47, 81.62, 316.45°)
OKLaboklab(47.91% 0.1322 -0.1596)
OKLCHoklch(47.91% 0.207 309.6)
XYZxyz(17.6619, 9.2549, 42.9668)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8027B2 #59B227
analogous
#3A27B2 #8027B2 #B2279F
triadic
#8027B2 #B28027 #27B280
tetradic
#8027B2 #B23A27 #59B227 #279FB2
square
#8027B2 #B23A27 #59B227 #279FB2
split-complementary
#8027B2 #9FB227 #27B23A
monochromatic
#38114E #5C1C80 #8027B2 #A041D5 #B973E0

Accessibility & contrast

On white

7.37
#8027B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8027B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8027B2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8027B2#FFFFFF#000000##FFFFFF
##8027B21.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#794A6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8027b2;
/* rgb */ color: rgb(128, 39, 178);
/* oklch */ color: oklch(47.9% 0.207 309.6);
Tailwind
colors: {
  custom: {
    50: '#aa6cca',
    500: '#8027b2',
    950: '#000000',
  },
}
SCSS
$custom: #8027b2;
$custom-light: #aa6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#8027b2",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 278.417,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47905,
    "c": 0.20722,
    "h": 309.6
  },
  "luminance": 0.09255
}

Semantic roles & 50–950 ramp

primary
#8027B2
secondary
#8EC86D
accent
#E7417D
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8027B2

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

Preview Lab → · Contrast checker → · Palette generator →

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