#815BF5#815BF5

#815BF5 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.4% C 0.219 H 289.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#815BF5
RGBrgb(129, 91, 245)
HSLhsl(255, 89%, 66%)
HSVhsv(255, 63%, 96%)
CMYKcmyk(47.3%, 62.9%, 0%, 3.9%)
CIE-LABlab(50.38, 51.52, -72.16)
CIE-LCHlch(50.38, 88.66, 305.53°)
OKLaboklab(59.43% 0.0726 -0.2066)
OKLCHoklch(59.43% 0.219 289.4)
XYZxyz(29.2711, 18.7407, 88.4435)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BF5 #CFF55B
analogous
#5B82F5 #815BF5 #CE5BF5
triadic
#815BF5 #F5815B #5BF581
tetradic
#815BF5 #F55B82 #CFF55B #5BF5CE
square
#815BF5 #F55B82 #CFF55B #5BF5CE
split-complementary
#815BF5 #F5CE5B #82F55B
monochromatic
#3B0CC9 #5521F1 #815BF5 #AD95F9 #DACEFC

Accessibility & contrast

On white

4.42
#815BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#815BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815BF5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BF5#FFFFFF#000000##000000
##815BF51.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFA
Deuteranopia (green-blind)
#0074F2
Tritanopia (blue-blind)
#5B80A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #815bf5;
/* rgb */ color: rgb(129, 91, 245);
/* oklch */ color: oklch(59.4% 0.219 289.4);
Tailwind
colors: {
  custom: {
    50: '#ae8bf9',
    500: '#815bf5',
    950: '#000000',
  },
}
SCSS
$custom: #815bf5;
$custom-light: #ae8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#815bf5",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 254.805,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59428,
    "c": 0.21896,
    "h": 289.4
  },
  "luminance": 0.18742
}

Semantic roles & 50–950 ramp

primary
#815BF5
secondary
#E3EFBC
accent
#E500AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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