#8065DB#8065DB

#8065DB is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.1% C 0.173 H 290.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8065DB
RGBrgb(128, 101, 219)
HSLhsl(254, 62%, 63%)
HSVhsv(254, 54%, 86%)
CMYKcmyk(41.6%, 53.9%, 0%, 14.1%)
CIE-LABlab(50.70, 38.48, -57.03)
CIE-LCHlch(50.70, 68.80, 304.01°)
OKLaboklab(59.09% 0.0611 -0.1621)
OKLCHoklch(59.09% 0.173 290.7)
XYZxyz(26.3384, 19.0102, 69.2857)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8065DB #C0DB65
analogous
#6585DB #8065DB #BB65DB
triadic
#8065DB #DB8065 #65DB80
tetradic
#8065DB #DB6585 #C0DB65 #65DBBB
square
#8065DB #DB6585 #C0DB65 #65DBBB
split-complementary
#8065DB #DBBB65 #85DB65
monochromatic
#4225A0 #5733CF #8065DB #A997E7 #D2C8F2

Accessibility & contrast

On white

4.37
#8065DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8065DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8065DB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8065DB#FFFFFF#000000##000000
##8065DB1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7BDF
Deuteranopia (green-blind)
#3076D8
Tritanopia (blue-blind)
#677E96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8065db;
/* rgb */ color: rgb(128, 101, 219);
/* oklch */ color: oklch(59.1% 0.173 290.7);
Tailwind
colors: {
  custom: {
    50: '#aa91e7',
    500: '#8065db',
    950: '#000000',
  },
}
SCSS
$custom: #8065db;
$custom-light: #aa91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8065db",
  "rgb": {
    "r": 128,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 253.729,
    "s": 62.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59087,
    "c": 0.17323,
    "h": 290.7
  },
  "luminance": 0.19011
}

Semantic roles & 50–950 ramp

primary
#8065DB
secondary
#D9E3B9
accent
#CA1CA2
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #8065DB

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

Preview Lab → · Contrast checker → · Palette generator →

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