#815FDF#815FDF

#815FDF is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.5% C 0.187 H 291.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#815FDF
RGBrgb(129, 95, 223)
HSLhsl(256, 67%, 62%)
HSVhsv(256, 57%, 87%)
CMYKcmyk(42.2%, 57.4%, 0%, 12.5%)
CIE-LABlab(49.71, 43.24, -60.88)
CIE-LCHlch(49.71, 74.67, 305.39°)
OKLaboklab(58.46% 0.0695 -0.1734)
OKLCHoklch(58.46% 0.187 291.8)
XYZxyz(26.4611, 18.1785, 71.9123)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FDF #BDDF5F
analogous
#5F7DDF #815FDF #C15FDF
triadic
#815FDF #DF815F #5FDF81
tetradic
#815FDF #DF5F7D #BDDF5F #5FDFC1
square
#815FDF #DF5F7D #BDDF5F #5FDFC1
split-complementary
#815FDF #DFC15F #7DDF5F
monochromatic
#4321A3 #592CD5 #815FDF #A992E9 #D1C5F3

Accessibility & contrast

On white

4.53
#815FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#815FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FDF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FDF#FFFFFF#000000##000000
##815FDF1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0978E3
Deuteranopia (green-blind)
#1B74DC
Tritanopia (blue-blind)
#677B96
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #815fdf;
/* rgb */ color: rgb(129, 95, 223);
/* oklch */ color: oklch(58.5% 0.187 291.8);
Tailwind
colors: {
  custom: {
    50: '#ab8dea',
    500: '#815fdf',
    950: '#000000',
  },
}
SCSS
$custom: #815fdf;
$custom-light: #ab8dea;
$custom-dark: #000000;
JSON
{
  "hex": "#815fdf",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 255.938,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58461,
    "c": 0.18678,
    "h": 291.8
  },
  "luminance": 0.18179
}

Semantic roles & 50–950 ramp

primary
#815FDF
secondary
#D8E4B6
accent
#CF179E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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