#815ACC#815ACC

#815ACC is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.4% C 0.170 H 296.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#815ACC
RGBrgb(129, 90, 204)
HSLhsl(261, 53%, 58%)
HSVhsv(261, 56%, 80%)
CMYKcmyk(36.8%, 55.9%, 0%, 20%)
CIE-LABlab(47.42, 40.95, -53.74)
CIE-LCHlch(47.42, 67.56, 307.31°)
OKLaboklab(56.39% 0.0754 -0.1524)
OKLCHoklch(56.39% 0.17 296.3)
XYZxyz(23.6057, 16.3387, 59.0250)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815ACC #A5CC5A
analogous
#5A6CCC #815ACC #BA5ACC
triadic
#815ACC #CC815A #5ACC81
tetradic
#815ACC #CC5A6C #A5CC5A #5ACCBA
square
#815ACC #CC5A6C #A5CC5A #5ACCBA
split-complementary
#815ACC #CCBA5A #6CCC5A
monochromatic
#472983 #6137B2 #815ACC #A589DA #C8B7E9

Accessibility & contrast

On white

4.92
#815ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#815ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815ACC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815ACC#FFFFFF#000000##FFFFFF
##815ACC1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2471D0
Deuteranopia (green-blind)
#316FC9
Tritanopia (blue-blind)
#6F728A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #815acc;
/* rgb */ color: rgb(129, 90, 204);
/* oklch */ color: oklch(56.4% 0.170 296.3);
Tailwind
colors: {
  custom: {
    50: '#aa8adc',
    500: '#815acc',
    950: '#000000',
  },
}
SCSS
$custom: #815acc;
$custom-light: #aa8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#815acc",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 260.526,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56385,
    "c": 0.17003,
    "h": 296.3
  },
  "luminance": 0.16339
}

Semantic roles & 50–950 ramp

primary
#815ACC
secondary
#C8D8AA
accent
#DC4CAB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815ACC

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

Preview Lab → · Contrast checker → · Palette generator →

#815ACC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva