#815AF0#815AF0

#815AF0 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.9% C 0.214 H 290.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#815AF0
RGBrgb(129, 90, 240)
HSLhsl(256, 83%, 65%)
HSVhsv(256, 63%, 94%)
CMYKcmyk(46.3%, 62.5%, 0%, 5.9%)
CIE-LABlab(49.82, 50.69, -70.27)
CIE-LCHlch(49.82, 86.64, 305.80°)
OKLaboklab(58.91% 0.074 -0.201)
OKLCHoklch(58.91% 0.214 290.2)
XYZxyz(28.4331, 18.2697, 84.4494)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AF0 #C9F05A
analogous
#5A7EF0 #815AF0 #CC5AF0
triadic
#815AF0 #F0815A #5AF081
tetradic
#815AF0 #F05A7E #C9F05A #5AF0CC
square
#815AF0 #F05A7E #C9F05A #5AF0CC
split-complementary
#815AF0 #F0CC5A #7EF05A
monochromatic
#3E11BE #5622EB #815AF0 #AC92F5 #D7CAFA

Accessibility & contrast

On white

4.51
#815AF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#815AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815AF0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AF0#FFFFFF#000000##000000
##815AF01.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F5
Deuteranopia (green-blind)
#0073ED
Tritanopia (blue-blind)
#5E7D9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #815af0;
/* rgb */ color: rgb(129, 90, 240);
/* oklch */ color: oklch(58.9% 0.214 290.2);
Tailwind
colors: {
  custom: {
    50: '#ad8bf6',
    500: '#815af0',
    950: '#000000',
  },
}
SCSS
$custom: #815af0;
$custom-light: #ad8bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#815af0",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 240
  },
  "hsl": {
    "h": 255.6,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58909,
    "c": 0.21423,
    "h": 290.2
  },
  "luminance": 0.18271
}

Semantic roles & 50–950 ramp

primary
#815AF0
secondary
#DFEDB9
accent
#E006A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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