#8A43CB#8A43CB

#8A43CB is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.0% C 0.202 H 304.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8A43CB
RGBrgb(138, 67, 203)
HSLhsl(271, 57%, 53%)
HSVhsv(271, 67%, 80%)
CMYKcmyk(32%, 67%, 0%, 20.4%)
CIE-LABlab(43.84, 54.83, -58.87)
CIE-LCHlch(43.84, 80.45, 312.97°)
OKLaboklab(53.99% 0.1142 -0.1671)
OKLCHoklch(53.99% 0.202 304.3)
XYZxyz(23.2654, 13.7295, 57.9127)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43CB #84CB43
analogous
#4643CB #8A43CB #CB43C8
triadic
#8A43CB #CB8A43 #43CB8A
tetradic
#8A43CB #CB4643 #84CB43 #43C8CB
square
#8A43CB #CB4643 #84CB43 #43C8CB
split-complementary
#8A43CB #C8CB43 #43CB46
monochromatic
#4C2074 #6B2DA4 #8A43CB #A873D8 #C6A3E6

Accessibility & contrast

On white

5.61
#8A43CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8A43CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43CB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43CB#FFFFFF#000000##FFFFFF
##8A43CB1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#1168C8
Tritanopia (blue-blind)
#7E6182
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a43cb;
/* rgb */ color: rgb(138, 67, 203);
/* oklch */ color: oklch(54.0% 0.202 304.3);
Tailwind
colors: {
  custom: {
    50: '#b17cdc',
    500: '#8a43cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a43cb;
$custom-light: #b17cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43cb",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 271.324,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53994,
    "c": 0.20245,
    "h": 304.3
  },
  "luminance": 0.13729
}

Semantic roles & 50–950 ramp

primary
#8A43CB
secondary
#B4D298
accent
#E04891
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A43CB

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

Preview Lab → · Contrast checker → · Palette generator →

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