#8046DB#8046DB

#8046DB is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.5% C 0.215 H 296.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8046DB
RGBrgb(128, 70, 219)
HSLhsl(263, 67%, 57%)
HSVhsv(263, 68%, 86%)
CMYKcmyk(41.6%, 68%, 0%, 14.1%)
CIE-LABlab(44.35, 55.34, -67.29)
CIE-LCHlch(44.35, 87.12, 309.44°)
OKLaboklab(54.46% 0.0954 -0.1922)
OKLCHoklch(54.46% 0.215 296.4)
XYZxyz(23.8751, 14.0835, 68.4646)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046DB #A1DB46
analogous
#4657DB #8046DB #CB46DB
triadic
#8046DB #DB8046 #46DB80
tetradic
#8046DB #DB4657 #A1DB46 #46DBCB
square
#8046DB #DB4657 #A1DB46 #46DBCB
split-complementary
#8046DB #DBCB46 #57DB46
monochromatic
#471B8B #6125BF #8046DB #A379E5 #C6ACEF

Accessibility & contrast

On white

5.50
#8046DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8046DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046DB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046DB#FFFFFF#000000##FFFFFF
##8046DB1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#686A8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8046db;
/* rgb */ color: rgb(128, 70, 219);
/* oklch */ color: oklch(54.5% 0.215 296.4);
Tailwind
colors: {
  custom: {
    50: '#ac7de7',
    500: '#8046db',
    950: '#000000',
  },
}
SCSS
$custom: #8046db;
$custom-light: #ac7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#8046db",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 263.356,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54461,
    "c": 0.21461,
    "h": 296.4
  },
  "luminance": 0.14084
}

Semantic roles & 50–950 ramp

primary
#8046DB
secondary
#C5DDA0
accent
#EA3DA7
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8046DB

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

Preview Lab → · Contrast checker → · Palette generator →

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