#805CC7#805CC7

#805CC7 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.3% C 0.161 H 296.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#805CC7
RGBrgb(128, 92, 199)
HSLhsl(260, 49%, 57%)
HSVhsv(260, 54%, 78%)
CMYKcmyk(35.7%, 53.8%, 0%, 22%)
CIE-LABlab(47.45, 38.24, -50.81)
CIE-LCHlch(47.45, 63.59, 306.96°)
OKLaboklab(56.29% 0.0714 -0.1438)
OKLCHoklch(56.29% 0.161 296.4)
XYZxyz(23.0354, 16.3666, 55.9672)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#805CC7 #A3C75C
analogous
#5C6EC7 #805CC7 #B65CC7
triadic
#805CC7 #C7805C #5CC780
tetradic
#805CC7 #C75C6E #A3C75C #5CC7B6
square
#805CC7 #C75C6E #A3C75C #5CC7B6
split-complementary
#805CC7 #C7B65C #6EC75C
monochromatic
#472B7D #613BAB #805CC7 #A38AD7 #C7B7E6

Accessibility & contrast

On white

4.91
#805CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#805CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #805CC7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##805CC7#FFFFFF#000000##FFFFFF
##805CC71.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F71CB
Deuteranopia (green-blind)
#396FC5
Tritanopia (blue-blind)
#707289
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #805cc7;
/* rgb */ color: rgb(128, 92, 199);
/* oklch */ color: oklch(56.3% 0.161 296.4);
Tailwind
colors: {
  custom: {
    50: '#a98bd8',
    500: '#805cc7',
    950: '#000000',
  },
}
SCSS
$custom: #805cc7;
$custom-light: #a98bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#805cc7",
  "rgb": {
    "r": 128,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 260.187,
    "s": 48.858,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5629,
    "c": 0.1606,
    "h": 296.4
  },
  "luminance": 0.16367
}

Semantic roles & 50–950 ramp

primary
#805CC7
secondary
#C7D5AA
accent
#D84FAA
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #805CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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