#8043C7#8043C7

#8043C7 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.6% C 0.196 H 301.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8043C7
RGBrgb(128, 67, 199)
HSLhsl(268, 54%, 52%)
HSVhsv(268, 66%, 78%)
CMYKcmyk(35.7%, 66.3%, 0%, 22%)
CIE-LABlab(42.35, 51.80, -59.03)
CIE-LCHlch(42.35, 78.53, 311.27°)
OKLaboklab(52.57% 0.1012 -0.168)
OKLCHoklch(52.57% 0.196 301.1)
XYZxyz(21.2156, 12.7269, 55.3606)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043C7 #8AC743
analogous
#4348C7 #8043C7 #C243C7
triadic
#8043C7 #C78043 #43C780
tetradic
#8043C7 #C74348 #8AC743 #43C7C2
square
#8043C7 #C74348 #8AC743 #43C7C2
split-complementary
#8043C7 #C7C243 #48C743
monochromatic
#45216F #622F9E #8043C7 #A072D5 #C0A1E3

Accessibility & contrast

On white

5.92
#8043C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8043C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043C7
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043C7#FFFFFF#000000##FFFFFF
##8043C71.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#71617F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8043c7;
/* rgb */ color: rgb(128, 67, 199);
/* oklch */ color: oklch(52.6% 0.196 301.1);
Tailwind
colors: {
  custom: {
    50: '#aa7bd9',
    500: '#8043c7',
    950: '#000000',
  },
}
SCSS
$custom: #8043c7;
$custom-light: #aa7bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8043c7",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 199
  },
  "hsl": {
    "h": 267.727,
    "s": 54.098,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52566,
    "c": 0.19608,
    "h": 301.1
  },
  "luminance": 0.12727
}

Semantic roles & 50–950 ramp

primary
#8043C7
secondary
#B5D096
accent
#DD4A99
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #8043C7

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

Preview Lab → · Contrast checker → · Palette generator →

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