#8043DB#8043DB

#8043DB is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.1% C 0.218 H 296.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8043DB
RGBrgb(128, 67, 219)
HSLhsl(264, 68%, 56%)
HSVhsv(264, 69%, 86%)
CMYKcmyk(41.6%, 69.4%, 0%, 14.1%)
CIE-LABlab(43.83, 56.81, -68.15)
CIE-LCHlch(43.83, 88.72, 309.81°)
OKLaboklab(54.09% 0.0983 -0.1948)
OKLCHoklch(54.09% 0.218 296.8)
XYZxyz(23.6921, 13.7175, 68.4036)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043DB #9EDB43
analogous
#4352DB #8043DB #CC43DB
triadic
#8043DB #DB8043 #43DB80
tetradic
#8043DB #DB4352 #9EDB43 #43DBCC
square
#8043DB #DB4352 #9EDB43 #43DBCC
split-complementary
#8043DB #DBCC43 #52DB43
monochromatic
#471A89 #6124BD #8043DB #A376E5 #C5AAEF

Accessibility & contrast

On white

5.61
#8043DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8043DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043DB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043DB#FFFFFF#000000##FFFFFF
##8043DB1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E0
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#69698A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8043db;
/* rgb */ color: rgb(128, 67, 219);
/* oklch */ color: oklch(54.1% 0.218 296.8);
Tailwind
colors: {
  custom: {
    50: '#ac7ce7',
    500: '#8043db',
    950: '#000000',
  },
}
SCSS
$custom: #8043db;
$custom-light: #ac7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#8043db",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 219
  },
  "hsl": {
    "h": 264.079,
    "s": 67.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54085,
    "c": 0.21816,
    "h": 296.8
  },
  "luminance": 0.13718
}

Semantic roles & 50–950 ramp

primary
#8043DB
secondary
#C3DC9E
accent
#EB3DA5
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8043DB

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

Preview Lab → · Contrast checker → · Palette generator →

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