#815BF4#815BF4

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

Color values

HEX#815BF4
RGBrgb(129, 91, 244)
HSLhsl(255, 87%, 66%)
HSVhsv(255, 63%, 96%)
CMYKcmyk(47.1%, 62.7%, 0%, 4.3%)
CIE-LABlab(50.31, 51.25, -71.71)
CIE-LCHlch(50.31, 88.14, 305.55°)
OKLaboklab(59.35% 0.0727 -0.2053)
OKLCHoklch(59.35% 0.218 289.5)
XYZxyz(29.1188, 18.6798, 87.6417)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BF4 #CEF45B
analogous
#5B81F4 #815BF4 #CD5BF4
triadic
#815BF4 #F4815B #5BF481
tetradic
#815BF4 #F45B81 #CEF45B #5BF4CD
square
#815BF4 #F45B81 #CEF45B #5BF4CD
split-complementary
#815BF4 #F4CD5B #81F45B
monochromatic
#3C0DC7 #5522F0 #815BF4 #AD94F8 #D9CEFC

Accessibility & contrast

On white

4.43
#815BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#815BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815BF4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BF4#FFFFFF#000000##000000
##815BF41.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #815bf4;
/* rgb */ color: rgb(129, 91, 244);
/* oklch */ color: oklch(59.4% 0.218 289.5);
Tailwind
colors: {
  custom: {
    50: '#ae8bf9',
    500: '#815bf4',
    950: '#000000',
  },
}
SCSS
$custom: #815bf4;
$custom-light: #ae8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#815bf4",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 244
  },
  "hsl": {
    "h": 254.902,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59353,
    "c": 0.21776,
    "h": 289.5
  },
  "luminance": 0.18681
}

Semantic roles & 50–950 ramp

primary
#815BF4
secondary
#E2EFBC
accent
#E402AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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