#815BFD#815BFD

#815BFD is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.0% C 0.228 H 288.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#815BFD
RGBrgb(129, 91, 253)
HSLhsl(254, 98%, 67%)
HSVhsv(254, 64%, 99%)
CMYKcmyk(49%, 64%, 0%, 0.8%)
CIE-LABlab(50.97, 53.73, -75.66)
CIE-LCHlch(50.97, 92.80, 305.38°)
OKLaboklab(60.03% 0.0718 -0.2169)
OKLCHoklch(60.03% 0.228 288.3)
XYZxyz(30.5188, 19.2398, 95.0150)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BFD #D7FD5B
analogous
#5B86FD #815BFD #D25BFD
triadic
#815BFD #FD815B #5BFD81
tetradic
#815BFD #FD5B86 #D7FD5B #5BFDD2
square
#815BFD #FD5B86 #D7FD5B #5BFDD2
split-complementary
#815BFD #FDD25B #86FD5B
monochromatic
#3503DB #531FFC #815BFD #AF97FE #DED4FE

Accessibility & contrast

On white

4.33
#815BFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#815BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815BFD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BFD#FFFFFF#000000##000000
##815BFD1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #815bfd;
/* rgb */ color: rgb(129, 91, 253);
/* oklch */ color: oklch(60.0% 0.228 288.3);
Tailwind
colors: {
  custom: {
    50: '#af8bff',
    500: '#815bfd',
    950: '#000000',
  },
}
SCSS
$custom: #815bfd;
$custom-light: #af8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#815bfd",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 253
  },
  "hsl": {
    "h": 254.074,
    "s": 97.59,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60034,
    "c": 0.22846,
    "h": 288.3
  },
  "luminance": 0.19241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #815BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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