#8A43CD#8A43CD

#8A43CD is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.205 H 303.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8A43CD
RGBrgb(138, 67, 205)
HSLhsl(271, 58%, 53%)
HSVhsv(271, 67%, 80%)
CMYKcmyk(32.7%, 67.3%, 0%, 19.6%)
CIE-LABlab(43.98, 55.30, -59.80)
CIE-LCHlch(43.98, 81.45, 312.76°)
OKLaboklab(54.14% 0.114 -0.1699)
OKLCHoklch(54.14% 0.205 303.9)
XYZxyz(23.5053, 13.8254, 59.1760)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43CD #86CD43
analogous
#4543CD #8A43CD #CD43CB
triadic
#8A43CD #CD8A43 #43CD8A
tetradic
#8A43CD #CD4543 #86CD43 #43CBCD
square
#8A43CD #CD4543 #86CD43 #43CBCD
split-complementary
#8A43CD #CBCD43 #43CD45
monochromatic
#4C1F76 #6B2CA7 #8A43CD #A873DA #C6A4E7

Accessibility & contrast

On white

5.58
#8A43CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8A43CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43CD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43CD#FFFFFF#000000##FFFFFF
##8A43CD1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0868CA
Tritanopia (blue-blind)
#7D6283
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a43cd;
/* rgb */ color: rgb(138, 67, 205);
/* oklch */ color: oklch(54.1% 0.205 303.9);
Tailwind
colors: {
  custom: {
    50: '#b17cdd',
    500: '#8a43cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a43cd;
$custom-light: #b17cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43cd",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 205
  },
  "hsl": {
    "h": 270.87,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54137,
    "c": 0.20459,
    "h": 303.9
  },
  "luminance": 0.13825
}

Semantic roles & 50–950 ramp

primary
#8A43CD
secondary
#B5D498
accent
#E14792
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A43CD

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

Preview Lab → · Contrast checker → · Palette generator →

#8A43CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva