#8051DB#8051DB

#8051DB is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.0% C 0.201 H 294.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8051DB
RGBrgb(128, 81, 219)
HSLhsl(260, 66%, 59%)
HSVhsv(260, 63%, 86%)
CMYKcmyk(41.6%, 63%, 0%, 14.1%)
CIE-LABlab(46.43, 49.67, -63.92)
CIE-LCHlch(46.43, 80.94, 307.85°)
OKLaboklab(55.96% 0.084 -0.1824)
OKLCHoklch(55.96% 0.201 294.7)
XYZxyz(24.6273, 15.5879, 68.7153)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8051DB #ACDB51
analogous
#5167DB #8051DB #C551DB
triadic
#8051DB #DB8051 #51DB80
tetradic
#8051DB #DB5167 #ACDB51 #51DBC5
square
#8051DB #DB5167 #ACDB51 #51DBC5
split-complementary
#8051DB #DBC551 #67DB51
monochromatic
#461E93 #5E29C6 #8051DB #A584E5 #CAB6F0

Accessibility & contrast

On white

5.10
#8051DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8051DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8051DB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8051DB#FFFFFF#000000##FFFFFF
##8051DB1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#68718F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8051db;
/* rgb */ color: rgb(128, 81, 219);
/* oklch */ color: oklch(56.0% 0.201 294.7);
Tailwind
colors: {
  custom: {
    50: '#ab84e7',
    500: '#8051db',
    950: '#000000',
  },
}
SCSS
$custom: #8051db;
$custom-light: #ab84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8051db",
  "rgb": {
    "r": 128,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 260.435,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55956,
    "c": 0.20077,
    "h": 294.7
  },
  "luminance": 0.15589
}

Semantic roles & 50–950 ramp

primary
#8051DB
secondary
#CDDFA9
accent
#E93FAF
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8051DB

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

Preview Lab → · Contrast checker → · Palette generator →

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