#815FD8#815FD8

#815FD8 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.0% C 0.178 H 293.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#815FD8
RGBrgb(129, 95, 216)
HSLhsl(257, 61%, 61%)
HSVhsv(257, 56%, 85%)
CMYKcmyk(40.3%, 56%, 0%, 15.3%)
CIE-LABlab(49.26, 41.33, -57.63)
CIE-LCHlch(49.26, 70.91, 305.65°)
OKLaboklab(57.99% 0.0695 -0.1638)
OKLCHoklch(57.99% 0.178 293)
XYZxyz(25.5368, 17.8087, 67.0444)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FD8 #B6D85F
analogous
#5F79D8 #815FD8 #BE5FD8
triadic
#815FD8 #D8815F #5FD881
tetradic
#815FD8 #D85F79 #B6D85F #5FD8BE
square
#815FD8 #D85F79 #B6D85F #5FD8BE
split-complementary
#815FD8 #D8BE5F #79D85F
monochromatic
#452598 #5C31C9 #815FD8 #A890E4 #CEC1F0

Accessibility & contrast

On white

4.60
#815FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#815FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815FD8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FD8#FFFFFF#000000##FFFFFF
##815FD81.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E77DC
Deuteranopia (green-blind)
#2973D5
Tritanopia (blue-blind)
#6A7992
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #815fd8;
/* rgb */ color: rgb(129, 95, 216);
/* oklch */ color: oklch(58.0% 0.178 293.0);
Tailwind
colors: {
  custom: {
    50: '#ab8de5',
    500: '#815fd8',
    950: '#000000',
  },
}
SCSS
$custom: #815fd8;
$custom-light: #ab8de5;
$custom-dark: #000000;
JSON
{
  "hex": "#815fd8",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 256.86,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57988,
    "c": 0.17796,
    "h": 293
  },
  "luminance": 0.17809
}

Semantic roles & 50–950 ramp

primary
#815FD8
secondary
#D3E0B3
accent
#C81D98
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #815FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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