#815AFD#815AFD

#815AFD is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.9% C 0.230 H 288.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#815AFD
RGBrgb(129, 90, 253)
HSLhsl(254, 98%, 67%)
HSVhsv(254, 64%, 99%)
CMYKcmyk(49%, 64.4%, 0%, 0.8%)
CIE-LABlab(50.77, 54.27, -75.98)
CIE-LCHlch(50.77, 93.37, 305.54°)
OKLaboklab(59.89% 0.0728 -0.2178)
OKLCHoklch(59.89% 0.23 288.5)
XYZxyz(30.4339, 19.0700, 94.9867)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AFD #D6FD5A
analogous
#5A84FD #815AFD #D35AFD
triadic
#815AFD #FD815A #5AFD81
tetradic
#815AFD #FD5A84 #D6FD5A #5AFDD3
square
#815AFD #FD5A84 #D6FD5A #5AFDD3
split-complementary
#815AFD #FDD35A #84FD5A
monochromatic
#3603DA #531EFC #815AFD #AF96FE #DDD3FE

Accessibility & contrast

On white

4.36
#815AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#815AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815AFD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AFD#FFFFFF#000000##000000
##815AFD1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0075FA
Tritanopia (blue-blind)
#5682A4
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #815afd;
/* rgb */ color: rgb(129, 90, 253);
/* oklch */ color: oklch(59.9% 0.230 288.5);
Tailwind
colors: {
  custom: {
    50: '#af8bff',
    500: '#815afd',
    950: '#000000',
  },
}
SCSS
$custom: #815afd;
$custom-light: #af8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#815afd",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 253
  },
  "hsl": {
    "h": 254.356,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59892,
    "c": 0.22965,
    "h": 288.5
  },
  "luminance": 0.19071
}

Semantic roles & 50–950 ramp

primary
#815AFD
secondary
#E7F3C0
accent
#E600AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #815AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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