#8028AF#8028AF

#8028AF is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.203 H 310.4°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8028AF
RGBrgb(128, 40, 175)
HSLhsl(279, 63%, 42%)
HSVhsv(279, 77%, 69%)
CMYKcmyk(26.9%, 77.1%, 0%, 31.4%)
CIE-LABlab(36.37, 58.15, -54.61)
CIE-LCHlch(36.37, 79.77, 316.80°)
OKLaboklab(47.76% 0.132 -0.1548)
OKLCHoklch(47.76% 0.203 310.4)
XYZxyz(17.3972, 9.2023, 41.4089)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8028AF #57AF28
analogous
#3C28AF #8028AF #AF289B
triadic
#8028AF #AF8028 #28AF80
tetradic
#8028AF #AF3C28 #57AF28 #289BAF
square
#8028AF #AF3C28 #57AF28 #289BAF
split-complementary
#8028AF #9BAF28 #28AF3C
monochromatic
#37114B #5C1D7D #8028AF #A041D4 #B973DF

Accessibility & contrast

On white

7.39
#8028AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8028AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8028AF
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8028AF#FFFFFF#000000##FFFFFF
##8028AF1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0057AC
Tritanopia (blue-blind)
#79496B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8028af;
/* rgb */ color: rgb(128, 40, 175);
/* oklch */ color: oklch(47.8% 0.203 310.4);
Tailwind
colors: {
  custom: {
    50: '#aa6cc8',
    500: '#8028af',
    950: '#000000',
  },
}
SCSS
$custom: #8028af;
$custom-light: #aa6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8028af",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 279.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47764,
    "c": 0.20342,
    "h": 310.4
  },
  "luminance": 0.09202
}

Semantic roles & 50–950 ramp

primary
#8028AF
secondary
#8CC66D
accent
#E6427B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #8028AF

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

Preview Lab → · Contrast checker → · Palette generator →

#8028AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva