#815AF5#815AF5

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

Color values

HEX#815AF5
RGBrgb(129, 90, 245)
HSLhsl(255, 89%, 66%)
HSVhsv(255, 63%, 96%)
CMYKcmyk(47.3%, 63.3%, 0%, 3.9%)
CIE-LABlab(50.18, 52.06, -72.48)
CIE-LCHlch(50.18, 89.24, 305.69°)
OKLaboklab(59.28% 0.0736 -0.2075)
OKLCHoklch(59.28% 0.22 289.5)
XYZxyz(29.1861, 18.5709, 88.4152)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AF5 #CEF55A
analogous
#5A80F5 #815AF5 #CF5AF5
triadic
#815AF5 #F5815A #5AF581
tetradic
#815AF5 #F55A80 #CEF55A #5AF5CF
square
#815AF5 #F55A80 #CEF55A #5AF5CF
split-complementary
#815AF5 #F5CF5A #80F55A
monochromatic
#3C0CC8 #5520F2 #815AF5 #AD94F8 #D9CDFC

Accessibility & contrast

On white

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

On black

4.71
#815AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815AF5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AF5#FFFFFF#000000##000000
##815AF51.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFA
Deuteranopia (green-blind)
#0074F2
Tritanopia (blue-blind)
#5B7FA0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #815af5;
/* rgb */ color: rgb(129, 90, 245);
/* oklch */ color: oklch(59.3% 0.220 289.5);
Tailwind
colors: {
  custom: {
    50: '#ae8bf9',
    500: '#815af5',
    950: '#000000',
  },
}
SCSS
$custom: #815af5;
$custom-light: #ae8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#815af5",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 245
  },
  "hsl": {
    "h": 255.097,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59282,
    "c": 0.22019,
    "h": 289.5
  },
  "luminance": 0.18572
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #815AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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