#8043CA#8043CA

#8043CA is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.8% C 0.199 H 300.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8043CA
RGBrgb(128, 67, 202)
HSLhsl(267, 56%, 53%)
HSVhsv(267, 67%, 79%)
CMYKcmyk(36.6%, 66.8%, 0%, 20.8%)
CIE-LABlab(42.56, 52.54, -60.42)
CIE-LCHlch(42.56, 80.07, 311.01°)
OKLaboklab(52.79% 0.1008 -0.172)
OKLCHoklch(52.79% 0.199 300.4)
XYZxyz(21.5673, 12.8676, 57.2131)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043CA #8DCA43
analogous
#4349CA #8043CA #C443CA
triadic
#8043CA #CA8043 #43CA80
tetradic
#8043CA #CA4349 #8DCA43 #43CAC4
square
#8043CA #CA4349 #8DCA43 #43CAC4
split-complementary
#8043CA #CAC443 #49CA43
monochromatic
#452072 #622EA2 #8043CA #A073D7 #C1A2E5

Accessibility & contrast

On white

5.88
#8043CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8043CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043CA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043CA#FFFFFF#000000##FFFFFF
##8043CA1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#706281
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8043ca;
/* rgb */ color: rgb(128, 67, 202);
/* oklch */ color: oklch(52.8% 0.199 300.4);
Tailwind
colors: {
  custom: {
    50: '#aa7bdb',
    500: '#8043ca',
    950: '#000000',
  },
}
SCSS
$custom: #8043ca;
$custom-light: #aa7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8043ca",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 267.111,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52787,
    "c": 0.19941,
    "h": 300.4
  },
  "luminance": 0.12868
}

Semantic roles & 50–950 ramp

primary
#8043CA
secondary
#B7D297
accent
#DF489B
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8043CA

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

Preview Lab → · Contrast checker → · Palette generator →

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