#815DFD#815DFD

#815DFD is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.226 H 288.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#815DFD
RGBrgb(129, 93, 253)
HSLhsl(254, 98%, 68%)
HSVhsv(254, 63%, 99%)
CMYKcmyk(49%, 63.2%, 0%, 0.8%)
CIE-LABlab(51.37, 52.66, -75.01)
CIE-LCHlch(51.37, 91.65, 305.07°)
OKLaboklab(60.32% 0.0699 -0.215)
OKLCHoklch(60.32% 0.226 288)
XYZxyz(30.6921, 19.5863, 95.0728)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DFD #D9FD5D
analogous
#5D89FD #815DFD #D15DFD
triadic
#815DFD #FD815D #5DFD81
tetradic
#815DFD #FD5D89 #D9FD5D #5DFDD1
square
#815DFD #FD5D89 #D9FD5D #5DFDD1
split-complementary
#815DFD #FDD15D #89FD5D
monochromatic
#3403DD #5221FC #815DFD #B099FE #DFD6FE

Accessibility & contrast

On white

4.27
#815DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#815DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815DFD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DFD#FFFFFF#000000##000000
##815DFD1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0076FA
Tritanopia (blue-blind)
#5584A5
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #815dfd;
/* rgb */ color: rgb(129, 93, 253);
/* oklch */ color: oklch(60.3% 0.226 288.0);
Tailwind
colors: {
  custom: {
    50: '#af8dff',
    500: '#815dfd',
    950: '#000000',
  },
}
SCSS
$custom: #815dfd;
$custom-light: #af8dff;
$custom-dark: #000000;
JSON
{
  "hex": "#815dfd",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 253
  },
  "hsl": {
    "h": 253.5,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60324,
    "c": 0.22603,
    "h": 288
  },
  "luminance": 0.19588
}

Semantic roles & 50–950 ramp

primary
#815DFD
secondary
#E8F4C2
accent
#E600B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #815DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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