#815BF3#815BF3

#815BF3 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.3% C 0.217 H 289.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#815BF3
RGBrgb(129, 91, 243)
HSLhsl(255, 86%, 65%)
HSVhsv(255, 63%, 95%)
CMYKcmyk(46.9%, 62.6%, 0%, 4.7%)
CIE-LABlab(50.24, 50.97, -71.27)
CIE-LCHlch(50.24, 87.62, 305.57°)
OKLaboklab(59.28% 0.0728 -0.204)
OKLCHoklch(59.28% 0.217 289.6)
XYZxyz(28.9674, 18.6192, 86.8442)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BF3 #CDF35B
analogous
#5B81F3 #815BF3 #CD5BF3
triadic
#815BF3 #F3815B #5BF381
tetradic
#815BF3 #F35B81 #CDF35B #5BF3CD
square
#815BF3 #F35B81 #CDF35B #5BF3CD
split-complementary
#815BF3 #F3CD5B #81F35B
monochromatic
#3C0EC5 #5522EF #815BF3 #AD94F7 #D9CDFB

Accessibility & contrast

On white

4.45
#815BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#815BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815BF3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BF3#FFFFFF#000000##000000
##815BF31.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF8
Deuteranopia (green-blind)
#0074F0
Tritanopia (blue-blind)
#5C7F9F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #815bf3;
/* rgb */ color: rgb(129, 91, 243);
/* oklch */ color: oklch(59.3% 0.217 289.6);
Tailwind
colors: {
  custom: {
    50: '#ae8bf8',
    500: '#815bf3',
    950: '#000000',
  },
}
SCSS
$custom: #815bf3;
$custom-light: #ae8bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#815bf3",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 243
  },
  "hsl": {
    "h": 255,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59279,
    "c": 0.21656,
    "h": 289.6
  },
  "luminance": 0.1862
}

Semantic roles & 50–950 ramp

primary
#815BF3
secondary
#E2EEBB
accent
#E303AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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