#815BFE#815BFE

#815BFE is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.1% C 0.230 H 288.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#815BFE
RGBrgb(129, 91, 254)
HSLhsl(254, 99%, 68%)
HSVhsv(254, 64%, 100%)
CMYKcmyk(49.2%, 64.2%, 0%, 0.4%)
CIE-LABlab(51.04, 54.01, -76.10)
CIE-LCHlch(51.04, 93.32, 305.37°)
OKLaboklab(60.11% 0.0717 -0.2181)
OKLCHoklch(60.11% 0.23 288.2)
XYZxyz(30.6785, 19.3037, 95.8562)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BFE #D8FE5B
analogous
#5B86FE #815BFE #D35BFE
triadic
#815BFE #FE815B #5BFE81
tetradic
#815BFE #FE5B86 #D8FE5B #5BFED3
square
#815BFE #FE5B86 #D8FE5B #5BFED3
split-complementary
#815BFE #FED35B #86FE5B
monochromatic
#3501DD #521EFE #815BFE #B098FE #DED5FF

Accessibility & contrast

On white

4.32
#815BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#815BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815BFE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BFE#FFFFFF#000000##000000
##815BFE1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0075FB
Tritanopia (blue-blind)
#5583A5
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #815bfe;
/* rgb */ color: rgb(129, 91, 254);
/* oklch */ color: oklch(60.1% 0.230 288.2);
Tailwind
colors: {
  custom: {
    50: '#af8bff',
    500: '#815bfe',
    950: '#000000',
  },
}
SCSS
$custom: #815bfe;
$custom-light: #af8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#815bfe",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 254
  },
  "hsl": {
    "h": 253.988,
    "s": 98.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60111,
    "c": 0.22963,
    "h": 288.2
  },
  "luminance": 0.19305
}

Semantic roles & 50–950 ramp

primary
#815BFE
secondary
#E8F4C1
accent
#E600B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #815BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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