#8023B1#8023B1

#8023B1 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.5% C 0.210 H 310.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8023B1
RGBrgb(128, 35, 177)
HSLhsl(279, 67%, 42%)
HSVhsv(279, 80%, 69%)
CMYKcmyk(27.7%, 80.2%, 0%, 30.6%)
CIE-LABlab(35.92, 60.32, -56.53)
CIE-LCHlch(35.92, 82.67, 316.86°)
OKLaboklab(47.49% 0.1357 -0.1604)
OKLCHoklch(47.49% 0.21 310.2)
XYZxyz(17.4374, 8.9660, 42.3985)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8023B1 #54B123
analogous
#3923B1 #8023B1 #B1239B
triadic
#8023B1 #B18023 #23B180
tetradic
#8023B1 #B13923 #54B123 #239BB1
square
#8023B1 #B13923 #54B123 #239BB1
split-complementary
#8023B1 #9BB123 #23B139
monochromatic
#360F4B #5B197E #8023B1 #A139D8 #B96CE2

Accessibility & contrast

On white

7.52
#8023B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8023B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8023B1
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8023B1#FFFFFF#000000##FFFFFF
##8023B11.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0056AE
Tritanopia (blue-blind)
#79476B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8023b1;
/* rgb */ color: rgb(128, 35, 177);
/* oklch */ color: oklch(47.5% 0.210 310.2);
Tailwind
colors: {
  custom: {
    50: '#aa6ac9',
    500: '#8023b1',
    950: '#000000',
  },
}
SCSS
$custom: #8023b1;
$custom-light: #aa6ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#8023b1",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 279.296,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47494,
    "c": 0.2101,
    "h": 310.2
  },
  "luminance": 0.08966
}

Semantic roles & 50–950 ramp

primary
#8023B1
secondary
#89C868
accent
#EA3E79
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8023B1

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

Preview Lab → · Contrast checker → · Palette generator →

#8023B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva