#805BCB#805BCB

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

Color values

HEX#805BCB
RGBrgb(128, 91, 203)
HSLhsl(260, 52%, 58%)
HSVhsv(260, 55%, 80%)
CMYKcmyk(36.9%, 55.2%, 0%, 20.4%)
CIE-LABlab(47.47, 39.87, -53.08)
CIE-LCHlch(47.47, 66.39, 306.92°)
OKLaboklab(56.38% 0.0728 -0.1505)
OKLCHoklch(56.38% 0.167 295.8)
XYZxyz(23.4199, 16.3827, 58.4166)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#805BCB #A6CB5B
analogous
#5B6ECB #805BCB #B85BCB
triadic
#805BCB #CB805B #5BCB80
tetradic
#805BCB #CB5B6E #A6CB5B #5BCBB8
square
#805BCB #CB5B6E #A6CB5B #5BCBB8
split-complementary
#805BCB #CBB85B #6ECB5B
monochromatic
#472982 #6038B1 #805BCB #A489DA #C8B8E8

Accessibility & contrast

On white

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

On black

4.28
#805BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##805BCB#FFFFFF#000000##FFFFFF
##805BCB1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2771CF
Deuteranopia (green-blind)
#336FC8
Tritanopia (blue-blind)
#6E728A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #805bcb;
/* rgb */ color: rgb(128, 91, 203);
/* oklch */ color: oklch(56.4% 0.167 295.8);
Tailwind
colors: {
  custom: {
    50: '#a98adb',
    500: '#805bcb',
    950: '#000000',
  },
}
SCSS
$custom: #805bcb;
$custom-light: #a98adb;
$custom-dark: #000000;
JSON
{
  "hex": "#805bcb",
  "rgb": {
    "r": 128,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 259.821,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56384,
    "c": 0.1672,
    "h": 295.8
  },
  "luminance": 0.16383
}

Semantic roles & 50–950 ramp

primary
#805BCB
secondary
#C9D7AA
accent
#DB4CAC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #805BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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