#8023B4#8023B4

#8023B4 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.7% C 0.213 H 309.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8023B4
RGBrgb(128, 35, 180)
HSLhsl(278, 67%, 42%)
HSVhsv(278, 81%, 71%)
CMYKcmyk(28.9%, 80.6%, 0%, 29.4%)
CIE-LABlab(36.15, 60.95, -57.94)
CIE-LCHlch(36.15, 84.09, 316.45°)
OKLaboklab(47.73% 0.1349 -0.1646)
OKLCHoklch(47.73% 0.213 309.3)
XYZxyz(17.7397, 9.0869, 43.9906)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8023B4 #57B423
analogous
#3823B4 #8023B4 #B423A0
triadic
#8023B4 #B48023 #23B480
tetradic
#8023B4 #B43823 #57B423 #23A0B4
square
#8023B4 #B43823 #57B423 #23A0B4
split-complementary
#8023B4 #A0B423 #23B438
monochromatic
#370F4E #5C1981 #8023B4 #A03BD9 #B96EE3

Accessibility & contrast

On white

7.45
#8023B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8023B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8023B4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8023B4#FFFFFF#000000##FFFFFF
##8023B41.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#78496C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8023b4;
/* rgb */ color: rgb(128, 35, 180);
/* oklch */ color: oklch(47.7% 0.213 309.3);
Tailwind
colors: {
  custom: {
    50: '#aa6acb',
    500: '#8023b4',
    950: '#000000',
  },
}
SCSS
$custom: #8023b4;
$custom-light: #aa6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8023b4",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 180
  },
  "hsl": {
    "h": 278.483,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47729,
    "c": 0.21281,
    "h": 309.3
  },
  "luminance": 0.09087
}

Semantic roles & 50–950 ramp

primary
#8023B4
secondary
#8CC969
accent
#EA3D7B
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8023B4

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

Preview Lab → · Contrast checker → · Palette generator →

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