#815DC7#815DC7

#815DC7 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.6% C 0.159 H 296.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#815DC7
RGBrgb(129, 93, 199)
HSLhsl(260, 49%, 57%)
HSVhsv(260, 53%, 78%)
CMYKcmyk(35.2%, 53.3%, 0%, 22%)
CIE-LABlab(47.78, 37.91, -50.28)
CIE-LCHlch(47.78, 62.97, 307.01°)
OKLaboklab(56.55% 0.0714 -0.1423)
OKLCHoklch(56.55% 0.159 296.7)
XYZxyz(23.2738, 16.6190, 56.0034)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DC7 #A3C75D
analogous
#5D6EC7 #815DC7 #B65DC7
triadic
#815DC7 #C7815D #5DC781
tetradic
#815DC7 #C75D6E #A3C75D #5DC7B6
square
#815DC7 #C75D6E #A3C75D #5DC7B6
split-complementary
#815DC7 #C7B65D #6EC75D
monochromatic
#482C7E #613BAC #815DC7 #A48AD7 #C8B8E6

Accessibility & contrast

On white

4.86
#815DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#815DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815DC7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DC7#FFFFFF#000000##FFFFFF
##815DC71.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #815dc7;
/* rgb */ color: rgb(129, 93, 199);
/* oklch */ color: oklch(56.6% 0.159 296.7);
Tailwind
colors: {
  custom: {
    50: '#a98cd8',
    500: '#815dc7',
    950: '#000000',
  },
}
SCSS
$custom: #815dc7;
$custom-light: #a98cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#815dc7",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 260.377,
    "s": 48.624,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56554,
    "c": 0.1592,
    "h": 296.7
  },
  "luminance": 0.16619
}

Semantic roles & 50–950 ramp

primary
#815DC7
secondary
#C7D5AA
accent
#D850AA
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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