#815BF9#815BF9

#815BF9 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.224 H 288.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#815BF9
RGBrgb(129, 91, 249)
HSLhsl(254, 93%, 67%)
HSVhsv(254, 63%, 98%)
CMYKcmyk(48.2%, 63.5%, 0%, 2.4%)
CIE-LABlab(50.67, 52.63, -73.91)
CIE-LCHlch(50.67, 90.74, 305.45°)
OKLaboklab(59.73% 0.0722 -0.2117)
OKLCHoklch(59.73% 0.224 288.8)
XYZxyz(29.8883, 18.9876, 91.6943)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BF9 #D3F95B
analogous
#5B84F9 #815BF9 #D05BF9
triadic
#815BF9 #F9815B #5BF981
tetradic
#815BF9 #F95B84 #D3F95B #5BF9D0
square
#815BF9 #F95B84 #D3F95B #5BF9D0
split-complementary
#815BF9 #F9D05B #84F95B
monochromatic
#3808D2 #5420F7 #815BF9 #AE96FB #DCD1FD

Accessibility & contrast

On white

4.38
#815BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#815BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815BF9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BF9#FFFFFF#000000##000000
##815BF91.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFE
Deuteranopia (green-blind)
#0075F6
Tritanopia (blue-blind)
#5881A2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #815bf9;
/* rgb */ color: rgb(129, 91, 249);
/* oklch */ color: oklch(59.7% 0.224 288.8);
Tailwind
colors: {
  custom: {
    50: '#ae8bfc',
    500: '#815bf9',
    950: '#000000',
  },
}
SCSS
$custom: #815bf9;
$custom-light: #ae8bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#815bf9",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 249
  },
  "hsl": {
    "h": 254.43,
    "s": 92.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.5973,
    "c": 0.22371,
    "h": 288.8
  },
  "luminance": 0.18989
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #815BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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