#805FAC#805FAC

#805FAC is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.2% C 0.120 H 302.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#805FAC
RGBrgb(128, 95, 172)
HSLhsl(266, 32%, 52%)
HSVhsv(266, 45%, 67%)
CMYKcmyk(25.6%, 44.8%, 0%, 32.5%)
CIE-LABlab(46.65, 29.52, -36.39)
CIE-LCHlch(46.65, 46.86, 309.05°)
OKLaboklab(55.2% 0.0646 -0.1017)
OKLCHoklch(55.2% 0.121 302.4)
XYZxyz(20.4391, 15.7522, 40.9854)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#805FAC #8BAC5F
analogous
#5F65AC #805FAC #A65FAC
triadic
#805FAC #AC805F #5FAC80
tetradic
#805FAC #AC5F65 #8BAC5F #5FACA6
square
#805FAC #AC5F65 #8BAC5F #5FACA6
split-complementary
#805FAC #ACA65F #65AC5F
monochromatic
#45315F #624688 #805FAC #A087C1 #C0B0D6

Accessibility & contrast

On white

5.06
#805FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#805FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #805FAC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##805FAC#FFFFFF#000000##FFFFFF
##805FAC1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6EAF
Deuteranopia (green-blind)
#526EAA
Tritanopia (blue-blind)
#786C7D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #805fac;
/* rgb */ color: rgb(128, 95, 172);
/* oklch */ color: oklch(55.2% 0.120 302.4);
Tailwind
colors: {
  custom: {
    50: '#a68dc5',
    500: '#805fac',
    950: '#000000',
  },
}
SCSS
$custom: #805fac;
$custom-light: #a68dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#805fac",
  "rgb": {
    "r": 128,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 265.714,
    "s": 31.687,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55204,
    "c": 0.1205,
    "h": 302.4
  },
  "luminance": 0.15752
}

Semantic roles & 50–950 ramp

primary
#805FAC
secondary
#B6C4A3
accent
#C8609B
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #805FAC

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

Preview Lab → · Contrast checker → · Palette generator →

#805FAC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva