#815CC7#815CC7

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

Color values

HEX#815CC7
RGBrgb(129, 92, 199)
HSLhsl(261, 49%, 57%)
HSVhsv(261, 54%, 78%)
CMYKcmyk(35.2%, 53.8%, 0%, 22%)
CIE-LABlab(47.55, 38.49, -50.64)
CIE-LCHlch(47.55, 63.61, 307.23°)
OKLaboklab(56.39% 0.0727 -0.1433)
OKLCHoklch(56.39% 0.161 296.9)
XYZxyz(23.1866, 16.4446, 55.9743)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CC7 #A2C75C
analogous
#5C6DC7 #815CC7 #B75CC7
triadic
#815CC7 #C7815C #5CC781
tetradic
#815CC7 #C75C6D #A2C75C #5CC7B7
square
#815CC7 #C75C6D #A2C75C #5CC7B7
split-complementary
#815CC7 #C7B75C #6DC75C
monochromatic
#482B7D #623BAB #815CC7 #A48AD7 #C7B7E6

Accessibility & contrast

On white

4.90
#815CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#815CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815CC7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CC7#FFFFFF#000000##FFFFFF
##815CC71.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3071CB
Deuteranopia (green-blind)
#3A70C5
Tritanopia (blue-blind)
#717289
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #815cc7;
/* rgb */ color: rgb(129, 92, 199);
/* oklch */ color: oklch(56.4% 0.161 296.9);
Tailwind
colors: {
  custom: {
    50: '#a98bd8',
    500: '#815cc7',
    950: '#000000',
  },
}
SCSS
$custom: #815cc7;
$custom-light: #a98bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#815cc7",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 260.748,
    "s": 48.858,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56388,
    "c": 0.16072,
    "h": 296.9
  },
  "luminance": 0.16445
}

Semantic roles & 50–950 ramp

primary
#815CC7
secondary
#C6D5AA
accent
#D84FA9
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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