#8028BD#8028BD

#8028BD is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.9% C 0.217 H 306.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8028BD
RGBrgb(128, 40, 189)
HSLhsl(275, 65%, 45%)
HSVhsv(275, 79%, 74%)
CMYKcmyk(32.3%, 78.8%, 0%, 25.9%)
CIE-LABlab(37.45, 61.18, -61.15)
CIE-LCHlch(37.45, 86.50, 315.02°)
OKLaboklab(48.86% 0.1288 -0.174)
OKLCHoklch(48.86% 0.217 306.5)
XYZxyz(18.8442, 9.7811, 49.0295)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8028BD #65BD28
analogous
#3528BD #8028BD #BD28B0
triadic
#8028BD #BD8028 #28BD80
tetradic
#8028BD #BD3528 #65BD28 #28B0BD
square
#8028BD #BD3528 #65BD28 #28B0BD
split-complementary
#8028BD #B0BD28 #28BD35
monochromatic
#3C1358 #5E1D8A #8028BD #9E4AD9 #B97CE3

Accessibility & contrast

On white

7.10
#8028BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8028BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8028BD
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8028BD#FFFFFF#000000##FFFFFF
##8028BD1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#754F73
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8028bd;
/* rgb */ color: rgb(128, 40, 189);
/* oklch */ color: oklch(48.9% 0.217 306.5);
Tailwind
colors: {
  custom: {
    50: '#ab6dd2',
    500: '#8028bd',
    950: '#000000',
  },
}
SCSS
$custom: #8028bd;
$custom-light: #ab6dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8028bd",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 275.436,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48855,
    "c": 0.21651,
    "h": 306.5
  },
  "luminance": 0.09781
}

Semantic roles & 50–950 ramp

primary
#8028BD
secondary
#99CB75
accent
#E84085
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8028BD

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

Preview Lab → · Contrast checker → · Palette generator →

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