#815BF8#815BF8

#815BF8 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.7% C 0.223 H 289.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#815BF8
RGBrgb(129, 91, 248)
HSLhsl(255, 92%, 66%)
HSVhsv(255, 63%, 97%)
CMYKcmyk(48%, 63.3%, 0%, 2.7%)
CIE-LABlab(50.60, 52.35, -73.48)
CIE-LCHlch(50.60, 90.22, 305.47°)
OKLaboklab(59.65% 0.0723 -0.2104)
OKLCHoklch(59.65% 0.223 289)
XYZxyz(29.7327, 18.9254, 90.8751)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BF8 #D2F85B
analogous
#5B84F8 #815BF8 #CF5BF8
triadic
#815BF8 #F8815B #5BF881
tetradic
#815BF8 #F85B84 #D2F85B #5BF8CF
square
#815BF8 #F85B84 #D2F85B #5BF8CF
split-complementary
#815BF8 #F8CF5B #84F85B
monochromatic
#3909D0 #5420F5 #815BF8 #AE96FB #DBD0FD

Accessibility & contrast

On white

4.39
#815BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#815BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815BF8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BF8#FFFFFF#000000##000000
##815BF81.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFD
Deuteranopia (green-blind)
#0075F5
Tritanopia (blue-blind)
#5981A1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #815bf8;
/* rgb */ color: rgb(129, 91, 248);
/* oklch */ color: oklch(59.7% 0.223 289.0);
Tailwind
colors: {
  custom: {
    50: '#ae8bfc',
    500: '#815bf8',
    950: '#000000',
  },
}
SCSS
$custom: #815bf8;
$custom-light: #ae8bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#815bf8",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 248
  },
  "hsl": {
    "h": 254.522,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59654,
    "c": 0.22253,
    "h": 289
  },
  "luminance": 0.18927
}

Semantic roles & 50–950 ramp

primary
#815BF8
secondary
#E5F1BE
accent
#E600AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #815BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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