#8A43DC#8A43DC

#8A43DC is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.2% C 0.221 H 300.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8A43DC
RGBrgb(138, 67, 220)
HSLhsl(268, 69%, 56%)
HSVhsv(268, 70%, 86%)
CMYKcmyk(37.3%, 69.5%, 0%, 13.7%)
CIE-LABlab(45.06, 58.88, -66.66)
CIE-LCHlch(45.06, 88.94, 311.46°)
OKLaboklab(55.25% 0.1119 -0.19)
OKLCHoklch(55.25% 0.221 300.5)
XYZxyz(25.4035, 14.5847, 69.1730)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43DC #95DC43
analogous
#4349DC #8A43DC #D743DC
triadic
#8A43DC #DC8A43 #43DC8A
tetradic
#8A43DC #DC4349 #95DC43 #43DCD7
square
#8A43DC #DC4349 #95DC43 #43DCD7
split-complementary
#8A43DC #DCD743 #49DC43
monochromatic
#4E1A8B #6B23BE #8A43DC #AA77E6 #CAAAEF

Accessibility & contrast

On white

5.36
#8A43DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8A43DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43DC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43DC#FFFFFF#000000##FFFFFF
##8A43DC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#78688B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a43dc;
/* rgb */ color: rgb(138, 67, 220);
/* oklch */ color: oklch(55.2% 0.221 300.5);
Tailwind
colors: {
  custom: {
    50: '#b27de8',
    500: '#8a43dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a43dc;
$custom-light: #b27de8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43dc",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 267.843,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55247,
    "c": 0.22053,
    "h": 300.5
  },
  "luminance": 0.14585
}

Semantic roles & 50–950 ramp

primary
#8A43DC
secondary
#C0DD9E
accent
#EB3C9A
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8A43DC

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

Preview Lab → · Contrast checker → · Palette generator →

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