#815DEF#815DEF

#815DEF is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.3% C 0.209 H 289.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#815DEF
RGBrgb(129, 93, 239)
HSLhsl(255, 82%, 65%)
HSVhsv(255, 61%, 94%)
CMYKcmyk(46%, 61.1%, 0%, 6.3%)
CIE-LABlab(50.37, 48.77, -68.83)
CIE-LCHlch(50.37, 84.36, 305.32°)
OKLaboklab(59.28% 0.071 -0.1968)
OKLCHoklch(59.28% 0.209 289.8)
XYZxyz(28.5432, 18.7267, 83.7553)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DEF #CBEF5D
analogous
#5D82EF #815DEF #CA5DEF
triadic
#815DEF #EF815D #5DEF81
tetradic
#815DEF #EF5D82 #CBEF5D #5DEFCA
square
#815DEF #EF5D82 #CBEF5D #5DEFCA
split-complementary
#815DEF #EFCA5D #82EF5D
monochromatic
#3D13BF #5625E9 #815DEF #AC95F5 #D8CCFA

Accessibility & contrast

On white

4.43
#815DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#815DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815DEF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DEF#FFFFFF#000000##000000
##815DEF1.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#5E7F9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #815def;
/* rgb */ color: rgb(129, 93, 239);
/* oklch */ color: oklch(59.3% 0.209 289.8);
Tailwind
colors: {
  custom: {
    50: '#ad8cf5',
    500: '#815def',
    950: '#000000',
  },
}
SCSS
$custom: #815def;
$custom-light: #ad8cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#815def",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 254.795,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59282,
    "c": 0.2092,
    "h": 289.8
  },
  "luminance": 0.18728
}

Semantic roles & 50–950 ramp

primary
#815DEF
secondary
#E0EDBB
accent
#DE07A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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