#815FD7#815FD7

#815FD7 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.9% C 0.177 H 293.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#815FD7
RGBrgb(129, 95, 215)
HSLhsl(257, 60%, 61%)
HSVhsv(257, 56%, 84%)
CMYKcmyk(40%, 55.8%, 0%, 15.7%)
CIE-LABlab(49.20, 41.06, -57.16)
CIE-LCHlch(49.20, 70.38, 305.69°)
OKLaboklab(57.92% 0.0695 -0.1625)
OKLCHoklch(57.92% 0.177 293.1)
XYZxyz(25.4079, 17.7572, 66.3656)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FD7 #B5D75F
analogous
#5F79D7 #815FD7 #BD5FD7
triadic
#815FD7 #D7815F #5FD781
tetradic
#815FD7 #D75F79 #B5D75F #5FD7BD
square
#815FD7 #D75F79 #B5D75F #5FD7BD
split-complementary
#815FD7 #D7BD5F #79D75F
monochromatic
#452696 #5C32C7 #815FD7 #A890E3 #CEC1EF

Accessibility & contrast

On white

4.61
#815FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#815FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815FD7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FD7#FFFFFF#000000##FFFFFF
##815FD71.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2076DB
Deuteranopia (green-blind)
#2B73D4
Tritanopia (blue-blind)
#6A7992
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #815fd7;
/* rgb */ color: rgb(129, 95, 215);
/* oklch */ color: oklch(57.9% 0.177 293.1);
Tailwind
colors: {
  custom: {
    50: '#aa8de4',
    500: '#815fd7',
    950: '#000000',
  },
}
SCSS
$custom: #815fd7;
$custom-light: #aa8de4;
$custom-dark: #000000;
JSON
{
  "hex": "#815fd7",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 257,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57921,
    "c": 0.17669,
    "h": 293.1
  },
  "luminance": 0.17758
}

Semantic roles & 50–950 ramp

primary
#815FD7
secondary
#D3E0B2
accent
#C81E98
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #815FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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