#815FDB#815FDB

#815FDB is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.2% C 0.182 H 292.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#815FDB
RGBrgb(129, 95, 219)
HSLhsl(256, 63%, 62%)
HSVhsv(256, 57%, 86%)
CMYKcmyk(41.1%, 56.6%, 0%, 14.1%)
CIE-LABlab(49.45, 42.15, -59.02)
CIE-LCHlch(49.45, 72.53, 305.53°)
OKLaboklab(58.19% 0.0695 -0.1679)
OKLCHoklch(58.19% 0.182 292.5)
XYZxyz(25.9282, 17.9653, 69.1056)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FDB #B9DB5F
analogous
#5F7BDB #815FDB #BF5FDB
triadic
#815FDB #DB815F #5FDB81
tetradic
#815FDB #DB5F7B #B9DB5F #5FDBBF
square
#815FDB #DB5F7B #B9DB5F #5FDBBF
split-complementary
#815FDB #DBBF5F #7BDB5F
monochromatic
#44239C #5A2ECE #815FDB #A891E6 #D0C3F1

Accessibility & contrast

On white

4.57
#815FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#815FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FDB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FDB#FFFFFF#000000##000000
##815FDB1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1777DF
Deuteranopia (green-blind)
#2473D8
Tritanopia (blue-blind)
#697A94
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #815fdb;
/* rgb */ color: rgb(129, 95, 219);
/* oklch */ color: oklch(58.2% 0.182 292.5);
Tailwind
colors: {
  custom: {
    50: '#ab8de7',
    500: '#815fdb',
    950: '#000000',
  },
}
SCSS
$custom: #815fdb;
$custom-light: #ab8de7;
$custom-dark: #000000;
JSON
{
  "hex": "#815fdb",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 256.452,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58189,
    "c": 0.18175,
    "h": 292.5
  },
  "luminance": 0.17966
}

Semantic roles & 50–950 ramp

primary
#815FDB
secondary
#D5E2B4
accent
#CB1A9B
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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