#8043AF#8043AF

#8043AF is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.169 H 307.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8043AF
RGBrgb(128, 67, 175)
HSLhsl(274, 45%, 47%)
HSVhsv(274, 62%, 69%)
CMYKcmyk(26.9%, 61.7%, 0%, 31.4%)
CIE-LABlab(40.73, 45.98, -47.57)
CIE-LCHlch(40.73, 66.16, 314.03°)
OKLaboklab(50.89% 0.1029 -0.1343)
OKLCHoklch(50.89% 0.169 307.5)
XYZxyz(18.6455, 11.6989, 41.8250)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043AF #72AF43
analogous
#4A43AF #8043AF #AF43A8
triadic
#8043AF #AF8043 #43AF80
tetradic
#8043AF #AF4A43 #72AF43 #43A8AF
square
#8043AF #AF4A43 #72AF43 #43A8AF
split-complementary
#8043AF #A8AF43 #43AF4A
monochromatic
#3F2156 #603283 #8043AF #9E69C6 #BA96D7

Accessibility & contrast

On white

6.29
#8043AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8043AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043AF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043AF#FFFFFF#000000##FFFFFF
##8043AF1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5EB2
Deuteranopia (green-blind)
#3061AC
Tritanopia (blue-blind)
#795873
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8043af;
/* rgb */ color: rgb(128, 67, 175);
/* oklch */ color: oklch(50.9% 0.169 307.5);
Tailwind
colors: {
  custom: {
    50: '#a87ac7',
    500: '#8043af',
    950: '#000000',
  },
}
SCSS
$custom: #8043af;
$custom-light: #a87ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8043af",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 175
  },
  "hsl": {
    "h": 273.889,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50885,
    "c": 0.1692,
    "h": 307.5
  },
  "luminance": 0.11699
}

Semantic roles & 50–950 ramp

primary
#8043AF
secondary
#A3C28B
accent
#D4538C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8043AF

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

Preview Lab → · Contrast checker → · Palette generator →

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