#815FD2#815FD2

#815FD2 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.6% C 0.170 H 294.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#815FD2
RGBrgb(129, 95, 210)
HSLhsl(258, 56%, 60%)
HSVhsv(258, 55%, 82%)
CMYKcmyk(38.6%, 54.8%, 0%, 17.6%)
CIE-LABlab(48.89, 39.70, -54.81)
CIE-LCHlch(48.89, 67.68, 305.92°)
OKLaboklab(57.59% 0.0694 -0.1556)
OKLCHoklch(57.59% 0.17 294)
XYZxyz(24.7753, 17.5041, 63.0336)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FD2 #B0D25F
analogous
#5F77D2 #815FD2 #BB5FD2
triadic
#815FD2 #D2815F #5FD281
tetradic
#815FD2 #D25F77 #B0D25F #5FD2BB
square
#815FD2 #D25F77 #B0D25F #5FD2BB
split-complementary
#815FD2 #D2BB5F #77D25F
monochromatic
#46288F #5E36BE #815FD2 #A78FDF #CCBFED

Accessibility & contrast

On white

4.67
#815FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#815FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815FD2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FD2#FFFFFF#000000##FFFFFF
##815FD21.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2975D6
Deuteranopia (green-blind)
#3272CF
Tritanopia (blue-blind)
#6D778F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #815fd2;
/* rgb */ color: rgb(129, 95, 210);
/* oklch */ color: oklch(57.6% 0.170 294.0);
Tailwind
colors: {
  custom: {
    50: '#aa8de0',
    500: '#815fd2',
    950: '#000000',
  },
}
SCSS
$custom: #815fd2;
$custom-light: #aa8de0;
$custom-dark: #000000;
JSON
{
  "hex": "#815fd2",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 257.739,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57591,
    "c": 0.17032,
    "h": 294
  },
  "luminance": 0.17505
}

Semantic roles & 50–950 ramp

primary
#815FD2
secondary
#CFDDB0
accent
#DF48B3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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