#8043CB#8043CB

#8043CB is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.201 H 300.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8043CB
RGBrgb(128, 67, 203)
HSLhsl(267, 57%, 53%)
HSVhsv(267, 67%, 80%)
CMYKcmyk(36.9%, 67%, 0%, 20.4%)
CIE-LABlab(42.63, 52.79, -60.88)
CIE-LCHlch(42.63, 80.58, 310.93°)
OKLaboklab(52.86% 0.1007 -0.1734)
OKLCHoklch(52.86% 0.201 300.1)
XYZxyz(21.6861, 12.9151, 57.8387)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043CB #8ECB43
analogous
#434ACB #8043CB #C443CB
triadic
#8043CB #CB8043 #43CB80
tetradic
#8043CB #CB434A #8ECB43 #43CBC4
square
#8043CB #CB434A #8ECB43 #43CBC4
split-complementary
#8043CB #CBC443 #4ACB43
monochromatic
#452074 #622DA4 #8043CB #A073D8 #C1A3E6

Accessibility & contrast

On white

5.86
#8043CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8043CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043CB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043CB#FFFFFF#000000##FFFFFF
##8043CB1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#6F6381
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8043cb;
/* rgb */ color: rgb(128, 67, 203);
/* oklch */ color: oklch(52.9% 0.201 300.1);
Tailwind
colors: {
  custom: {
    50: '#aa7bdc',
    500: '#8043cb',
    950: '#000000',
  },
}
SCSS
$custom: #8043cb;
$custom-light: #aa7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8043cb",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 266.912,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52862,
    "c": 0.20053,
    "h": 300.1
  },
  "luminance": 0.12915
}

Semantic roles & 50–950 ramp

primary
#8043CB
secondary
#B8D298
accent
#E0489C
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8043CB

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

Preview Lab → · Contrast checker → · Palette generator →

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